The trifluoroborane-catalyzed C–H functionalization/S–H insertion reaction of α-diazophosphonates with thiols has been developed. A plausible reaction mechanism has been proposed to understand the combined reaction. This process provides straightforward access to N,S-acetals containing quaternary centers in moderate to good yields and chemoselectivity.