Canine distemper virus (CDV) is the cause of a severe and highly contagious disease in dogs. Practical diagnosis of canine distemper based on clinical signs and laboratory tests are required to confirm CDV infection. The present study aimed to develop a molecular assay to detect and differentiate field and vaccine CDV strains. Reverse transcription followed by nested real time polymerase chain reaction (RT-nqPCR) was developed, which exhibited analytical specificity (all the samples from healthy dogs and other canine infectious agents were not incorrectly detected) and sensitivity (all replicates of a vaccine strain were positive up to the 3125-fold dilution - 10(0.7) TCID50). RT-nqPCR was validated for CDV detection on different clinical samples (blood, urine, rectal and conjunctival swabs) of 103 animals suspected to have distemper. A total of 53 animals were found to be positive based on RT-nqPCR in at least one clinical sample. Blood resulted in more positive samples (50 out of 53, 94.3%), followed by urine (44/53, 83.0%), rectal (38/53, 71%) and conjunctival (27/53, 50.9%) swabs. A commercial immunochromatography (IC) assay had detected CDV in only 30 conjunctival samples of these positive dogs. Nucleoprotein (NC) gene sequencing of 25 samples demonstrated that 23 of them were closer to other Brazilian field strains and the remaining two to vaccine strains. A single nucleotide sequences difference, which creates an Msp I restriction enzyme digestion, was used to differentiate between field and vaccine CDV strains by restriction fragment length polymorphism (RFLP) analysis. The complete assay was more sensitive than was IC for the detection of CDV. Blood was the more frequently positive specimen and the addition of a restriction enzyme step allowed the differentiation of vaccine and Brazilian field strains.