The two joined the states of Sikkim, Himachal Pradesh and Kerala, which were the first three states to be declared ODF.
Nationally, the sanitation coverage has increased from 42 per cent to over 64 per cent in just two-and-a-half years since the launch of SBM.
Uttarakhand has 13 districts, 95 blocks, 7,256 gram panchayats and 15,751 villages while Haryana has 21 districts, 124 blocks, and 6,083 gram panchayats - all of which have declared themselves as ODF in formal declarations in Dehradun and Chandigarh, respectively.
Commenting on Uttarakhand achieving this milestone, Chief Minister Trivendra Singh Rawat, said "collaborative community participation has led Uttarakhand to achieve this ODF status".
With the total number of ODF states now rising to five, more than 2 lakh villages and 147 districts have also been declared ODF across the country.