Rapid urease tests are used for quick identification of Helicobacter pylori during upper gastrointestinal endoscopy. Rapid urease test solutions contain urea, which in the presence of H. pylori urease, generates ammonia, which changes the test medium color to indicate a positive result. Theoretically, Xylocaine spray (ASTRA, Södertalje, Sweden), which has a basic pH value, could cause a similar positive reaction in the test medium. To determine whether patients premedicated with Xylocaine spray have a higher rate of false positive urease tests, we compared the results of a rapid urease test and histologic stains in 107 patients, 54 premedicated with Xylocaine spray and 53 premedicated with intravenous midazolam but not Xylocaine spray. There were no significant differences in test sensitivity, specificity, or predictive values between the study groups. We conclude that patients can be premedicated with Xylocaine spray without concern that the false positive rate of rapid urease tests will increase.