Solubility and thermal stability of surfactants are the key properties to consider for their possible oilfield applications. Most commercially available surfactants experience hydrolysis under high temperatures, and prolonged heating exacerbates this process, creating significant challenges for the petroleum industry. To address these complications, a novel class of propylamine and pyridinium-based zwitterionic surfactants was prepared, and their structures were confirmed using nuclear magnetic resonance (NMR) and Fourier transform infrared (FT-IR) spectroscopies. Salt tolerance tests were performed in distilled water, seawater, and formation water, while thermal stability was evaluated by using thermogravimetric analysis (TGA). Additionally, surface properties such as critical micelle concentration (CMC) and surface tension at the CMC (γ