Tuberculous meningitis (TBM) is difficult to diagnose promptly. The utility of the Xpert MTB/RIF test for the diagnosis of TBM remains unclear, and the effect of host- and sample-related factors on test performance is unknown. This study sought to evaluate the sensitivity and specificity of Xpert MTB/RIF for the diagnosis of TBM