It was Ferrer's 13th consecutive victory over his Spanish Davis Cup teammate.
Almagro served for the match in the 10th game of the third set and the 10th and 12th games of the fourth set, but was broken each time by Ferrer.
The fourth-seeded Ferrer will play either top-ranked Novak Djokovic, the defending champion, or Tomas Berdych in the semifinals.
More Sports Headlines
Community sports: Bulletin board M's trade center fielder Jackson to Cubs for player to be named Seahawks trade WR Norwood to Panthers, release center Jeanpierre Keuchel wins 16th game as Astros beat Mariners 8-3 Huskies’ defensive lineman to do ‘hockey shifts’ Serena Wiliams advances to second round of U.S. Open 11 years after breakup with Lakers, Kobe and Shaq make up on podcast Tebow to get his last shot at Eagles’ No. 3 QB job
Our new comment system is not supported in IE 7. Please upgrade your browser here.