Background and Aim: Viral gastroenteritis in canines is primarily caused by the canine parvovirus 2 (CPV-2). Infections by this virus can cause severe consequences in dogs, such as fever, vomiting, diarrhea, septicemia, systemic inflammation, and immunosuppression. Therefore, the mortality rate of persistent infections caused by this virus is significantly high. The capsid protein VP2 genome of canine parvovirus has undergone many changes, resulting in the emergence of different genotypes, including CPV-2a, CPV-2b, and CPV-2c. Diagnostic procedures often lack the necessary specificity for early infection diagnosis. Early detection of the infection enhances the likelihood of canine survival because the canine will receive prompt therapy. Hence, this study aimed to develop a quantitative polymerase chain reaction (qPCR)-based diagnostic technique using SYBR Green for the rapid and accurate detection and quantification of CPV-2. Materials and Methods: The assay was specifically designed to identify a portion of the conserved NS gene using primers that amplify a 125-bp fragment. The qPCR method was executed in the fast mode to expedite the process using Power up SYBR Green Master Mix reagent. A standard curve was constructed using the amplified and purified PCR product of the NS gene. Results: The limit of detection and quantification were determined in the one amplified-DNA copy. The standard curve showed an efficiency of 99.5% and inter- and intra-assay coefficients of variation of 0.387%–0.976% and 0.085%–0.430%, respectively. The assay was specific for the amplification of CPV-2, as no amplification was observed for other viral genomes (canine adenovirus II, canine distemper virus, canine coronavirus, and canine astrovirus) or from the negative controls. Inter- and intra-tests for repeatability showed low test variability around the run time. To validate the present assay, 200 samples of fezzes from canines with gastroenteritis and symptoms associated with enteric infection were tested using the qPCR protocol. From the analyzed samples, 136 were positive for CPV-2 by qPCR assay, of which 110 were before diagnostic positive for the virus by endpoint PCR, showing high sensitivity of the current assay. CPV-2 was detected in dogs over 2 weeks old up to dogs 9 years old, where the highest viral concentration found was 16429595 gene copies in dogs aged 2 weeks. Conclusion: In the present study, a rapid, specific, repeatable, and sensitive assay was developed for the detection and quantification of CPV-2. Furthermore, it was demonstrated that in the population of domestic dogs in Ecuador affected with gastrointestinal disease, the virus is presented in dogs of different ages and not only in young dogs. Keywords: canine parvovirus, gastroenteritis, quantitative polymerase chain reaction, SYBR green.