The atmospheric propagation of GPS signals under multipath conditions and their detection are simulated. Using the multiple phase screen method, C/A-code modulated L1 signals are propagated through a spherically symmetric refractivity field derived from a high-resolution radio sonde observation. The propagated signals are tracked by a GPS receiver implemented in software and converted to refractivity profiles by the canonical transform technique and the Abel inversion. Ignoring noise and assuming an ideal receiver tracking behavior, the true refractivity profile is reproduced to better than 0.1% at altitudes above 2 km. The nonideal case is simulated by adding between 14 and 24 dB of Gaussian white noise to the signal and tracking the signal with a receiver operating at 50 and 200 Hz sampling frequency using two different carrier phase detectors. In the upper troposphere and stratosphere the fractional refractivity retrieval error is below 0.3% for 50 Hz sampling and below 0.15% for 200 Hz sampling. In the midtroposphere down to altitudes of about 2 km, phase-locked loop tracking induces negative fractional refractivity biases on the order of −1 to −2% at 50 Hz sampling frequency. Modifications to the receiver tracking algorithm significantly improve the retrieval results. In particular, replacing the carrier loop's two-quadrant phase extractor with a four-quadrant discriminator reduces the refractivity biases by a factor of 5; increasing the sampling frequency from 50 to 200 Hz gains another factor of 2.