Rifampicin is an essential medicine for treating and preventing tuberculosis (TB). TB is a life-threatening infectious disease and its prevention and treatment are public health imperatives. In the time of a global crisis of nitrosamine contamination of medicinal products, patient safety and a reduction in the number of drug recalls at the same time are crucial. In this work, the LC-MS/MS method was developed for the determination of the 1-methyl-4-nitrosospiperazine (MNP), a genotoxic nitrosamine impurity in various products containing rifampicin at a 5.0 ppm limit level according to Food and Drug Administration (FDA). Extraction with neutralization was necessary due to the matrix and solvent effect associated with the complexity of the rifampicin product. The developed method was validated in accordance with regulatory guidelines. Specificity, accuracy, precision, limit of detection, and limit of quantification parameters were evaluated. The recovery of the MNP was 100.38 ± 3.24% and the intermediate precision was 2.52%. The contamination of MNP in Rifampicin originates in the manufacturing process of the drug. Furthermore, the results of the forced degradation experiments show that the formation of MNP is possible by two mechanisms: through degradation of rifampicin and the oxidation of 1-amino-4-methyl-piperazine. This article points out that it is necessary to monitor and describe degradation products and the mechanism of degradation of potentially affected active pharmaceutical ingredient (API) with respect to the formation of nitrosamines during stress testing, as it was done in the following work for rifampicin in multicomponent products.