Data are lacking regarding the impact of visible pigment on rectal swab diagnostic accuracy. We describe the test characteristics of rectal swabs with and without pigment in children with gastroenteritis. Between December 2014 and September 2017, children (age, <18 years) with ≥3 episodes of vomiting and/or diarrhea in a 24-h period and symptoms for <7 days were enrolled through two pediatric emergency departments and from a province-wide nursing telephone advice line in Alberta, Canada. Specimens were analyzed by employing nucleic acid amplification panels. The primary outcomes were the sensitivity, specificity, positive predictive value (PPV), and negative predictive value (NPV) for the rectal swabs, with stool specimen results being used as the reference standard. An enteropathogen was detected in 76.0% (1,399/1,841) of the paired specimens. A total of 54.4% (1,001/1841) of the swabs had visible pigment. The respective enteropathogen detection characteristics of swabs with and without visible pigment were as follows: 92.2% (95% confidence interval [CI], 90.0%, 94.0%) versus 83.7% (95% CI, 80.5%, 86.4%) for sensitivity, 94.3% (95% CI, 90.5%, 96.6%) versus 91.2% (95% CI, 86.3%, 94.5%) for specificity, 97.9% (95% CI, 96.4%, 98.8%) versus 96.5% (95% CI, 94.5%, 97.8%) for PPV, and 80.9% (95% CI, 76.0%, 85.1%) versus 65.8% (95% CI, 60.0%, 71.1%) for NPV. Processing of swabs without visible pigment would increase the rate of identification of positive swabs from 50.0% (682/1,365) to 88.3% (1,205/1,365). There is a modest decrease in the reliability of a negative test on swabs without evidence of pigment, but the overall yield is significantly greater when they are not excluded from testing. Hence, rectal swabs without visible feces should not be routinely rejected from testing.