Ridesplitting, a form of shared ridesourcing service, has the potential to significantly reduce emissions. However, its current adoption rate among users remains relatively low. Policies such as carbon credit schemes, which offer rewards for emission reduction, hold great promise in promoting ridesplitting. This study aimed to quantitatively analyze the choice behaviors for ridesplitting under a carbon credit scheme. First, both the socio-demographic and psychological factors that may influence the ridesplitting behavioral intention were identified based on the theory of planned behavior, technology acceptance model, and perceived risk theory. Then, a hybrid choice model of ridesplitting was established to model choice behaviors for ridesplitting under a carbon credit scheme by integrating both structural equation modeling and discrete choice modeling. Meanwhile, a stated preference survey was conducted to collect the socio-demographic and psychological information and ridesplitting behavioral intentions of transportation network company (TNC) users in 12 hypothetical scenarios with different travel distances and carbon credit prices. Finally, the model was evaluated based on the survey data. The results show that attitudes, subjective norms, perceived behavioral control, low-carbon values, and carbon credit prices have significant positive effects on the choice behavior for ridesplitting. Specifically, increasing the carbon credit price could raise the probability of travelers choosing ridesplitting. In addition, travelers with higher low-carbon values are usually more willing to choose ridesplitting and are less sensitive to carbon credit prices. The findings of this study indicate that a carbon credit scheme is an effective means to incentivize TNC users to choose ridesplitting.