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
Chum fishery set to close in Marine Area 10 No. 10 Gonzaga rolls past Washington 80-64 in Bahamas Huskies wary of Cougars' running game and defense Seahawks RB Lynch out multiple weeks after abdominal surgery M’s notebook: Hultzen clear waivers, sent to Triple-A Ex-Cowboys RB Randle arrested at Kansas casino Broncos bring in Ponder to add depth at QB NHLís Canadiens sign GM Bergevin to extension
Our new comment system is not supported in IE 7. Please upgrade your browser here.