The excess levels of investor participation coupled with irrational behaviour in the South African bond market causes excess volatility, which in turn exposes investors to losses. Consequently, the study aims to examine the effect of market-wide investor sentiment on government bond index returns of varying maturities under changing market conditions. This study constructs a new market-wide investor sentiment index for South Africa and uses the two-state Markov regime-switching model for the sample period 2007/03 to 2024/01. The findings illustrate that the effect investor sentiment has on government bond indices returns of varying maturities is regime-specific and time-varying. For instance, the 1–3-year government index return and the over-12-year government bond index were negatively affected by investor sentiment in a bull market condition and not in a bear market condition. Moreover, the bullish market condition prevailed among the returns of selected government bond indices of varying maturities. The findings suggest that the government bond market is adaptive, as proposed by AMH, and contains alternating efficiencies. The study contributes to the emerging market literature, which is limited. That being said, it uses market-wide investor sentiment as a tool to make pronunciations on asset selection, portfolio formulation, and portfolio diversification, which assists in limiting investor losses. Moreover, the findings of the study contribute to settling the debate surrounding the efficiency of bond markets and the effect between market-wide sentiment and bond index returns in South Africa. That being said, it is nonlinear, which is a better modelled using nonlinear models and alternates with market conditions, making the government bond market adaptive.