Kevin Sainte-Luce came off the bench to score a late goal for AFC Wimbledon and fire them out of the relegation zone.
The Dons started brightly and Gary Alexander was denied by a superb point-blank save from keeper Chris Lewington.
After the break Dagenham came close to an opener when Matt Saunders fired in a shot from 18 yards which whistled past the angle of the post and crossbar.
But with 10 minutes left Sainte-Luce was on hand as he rifled home low from 25 yards to secure a priceless victory.
VIEW FROM THE DRESSING ROOM
AFC Wimbledon boss Neal Ardley told BBC London 94.9:
"We didn't look in too much trouble and was an all-round fantastic team performance.
"We worked hard and we are fitter and stronger. There is a belief in the players and the momentum we are creating meant I had belief we would get something today.
"Our support have been phenomenal and I hope they go and have a beer. We must stay focused as this league is unforgiving."
Dag & Red 01 Lewington 02 Wilkinson 03 Ilesanmi 04 Doe Booked 18 Hoyte 12 Elito (Green - 81' ) 15 Saunders (Reed - 65' ) 17 Howell 19 Ogogo Booked 07 Williams 09 Strevens Substitutes 30 Seabright 21 Caprice 24 Bingham 11 Green 16 Maher 14 Reed 23 Woodall AFC Wimbledon 35 Sullivan 05 Balkestein 31 Meades (Mitchell-King - 51' ) 39 Bennett 44 Hussey 08 S Moore 12 Pell 09 Dickenson (Sainte-Luce - 62' ) 10 Midson 11 L Moore Booked 28 Alexander (Darco - 62' Booked ) Substitutes 33 Jaimez-Ruiz 03 Cummings 06 Mitchell-King 07 Long 16 Sainte-Luce 23 Yussuff 14 Darco