Having trailed twice in the previous round before winning in five sets, Ferrer struggled initially to create opportunities on Dodig's serve and was two points from going two sets down.
But he dominated the final two sets, breaking Dodig five times and clinching the match with a forehand winner.
Coming off his first career Grand Slam final at the French Open, Ferrer reached his second straight Wimbledon quarterfinal.
He will play the winner between No. 8 Juan Martin del Potro and Andreas Seppi.
More Sports Headlines
Goff throws 4 TD passes as Cal rallies to beat Cougars 34-28 4:36 p.m. Seahawks' Lynch, Mebane to be game-time decisions Monday night 5:38 p.m. Texas staggering after troubling 50-7 loss to No. 4 TCU 5:38 p.m. Tulane long snapper is first legally blind player to play in D-I game 5:36 p.m. Sounders have 2009 flavor for 2015 stretch run 5:26 p.m. Angels score 5 in 9th, beat Rangers 11-10 5:24 p.m. No. 1 Ohio State hangs on to beat Indiana 34-27 5:24 p.m. No. 13 Alabama routs No. 8 Georgia 38-10 5:24 p.m.
Our new comment system is not supported in IE 7. Please upgrade your browser here.