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
World of Huskies' Charles flipped upside down Steelers sign Vick to one-year deal as backup quarterback 6:05 p.m. Two-time Pro Bowl guard Mathis signs one-year deal with Broncos 6:05 p.m. Sarkisian says he mixed alcohol and medication, will seek treatment 4:44 p.m. Serena Williams, Novak Djokovic are U.S. Open top seeds 4:43 p.m. Huskies' Petersen declines to elaborate on Ukwuachu situation 4:39 p.m. Talks go on as lawyers try to win over 'Deflategate' judge 4:30 p.m. Cougars can mix and match on defensive line 4:25 p.m.
Our new comment system is not supported in IE 7. Please upgrade your browser here.