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
Williams puts aside slow start to reach third round of U.S. Open 3:04 p.m. Ex-NFL running back Phillips charged with killing cellmate 2:07 p.m. Pro lacrosse scoring leader Tavares retiring after 24 years Sounders deal with significant international issues Morrison's pinch homer lifts Mariners to 7-5 win over Astros AquaSox fall 7-6 to Spokane in 10 innings Steady in face of Kyrgios' 'antics,' Murray wins at U.S. Open M's notebook: Quartet added from Triple-A
Our new comment system is not supported in IE 7. Please upgrade your browser here.