Mathieu Schneider staked the Ducks to a lead in the first before Ryan Callahan tied it for the Rangers, who dropped their second straight home game to a team from Southern California.
Los Angeles topped New York 4-2 on Tuesday, and the Rangers are winless against the Western Conference this season (0-7-2). They got 33 shots but couldn't make them count.
"They're a smart team," said Rangers captain Jaromir Jagr, who has no points in five games. "When they don't have anything, they stay back. They play like a champion. They have the talent and they believe."
Todd Bertuzzi made it 4-1 with 7:47 left, 15 seconds after a Rangers power play created lots of pressure but didn't click. Anaheim is 2-3-1 on its club-record, nine-game trip that continues Friday in New Jersey.
The Ducks moved into a second-place tie with San Jose in the Pacific Division. Once Anaheim returns home, it will have only seven away games remaining in its final 21.
"We still have a lot of road trip left," forward Ryan Getzlaf said. "We need to get as many points as we can."
The Ducks, who hadn't played at Madison Square Garden since Oct. 28, 2003, improved to 12-3-4 against the Rangers -- 6-2-2 in New York.
The Rangers hoped to build on a three-game road winning streak, but went pointless on the two-game homestand.
"We have a hard time beating the West Coast teams," goalie Henrik Lundqvist said.
The pace picked up early in the middle period with a pair of fights 16 seconds apart. That revved up the fans, but didn't immediately lift the offenses.
Callahan changed that 5 minutes later with his first goal in 26 games, dating to opening night.
The second-year forward, who spent half this season on the injured list or in the minors, fired a shot from the right circle that smacked loudly off the left post and in at 7:42 -- all while teammate Blair Betts sat in the crease.
"It's a little weight off my shoulders," Callahan said. "It's good for me, but it's bittersweet. A win is more important right now."
The Rangers are seventh in the Eastern Conference but only three points ahead of ninth-place Buffalo.
Anaheim didn't muster many shots, but made them count. Perry put the Ducks back in front at 12:05, and Kunitz stretched the lead to 3-1 with a power-play goal at 13:32.
Lundqvist surely would want back Perry's 28th, a shot from the right circle that squeezed under his left arm and trickled over the line. Kunitz took advantage of Fedor Tyutin's hooking penalty -- Anaheim's first power play -- 13 seconds after the defenseman went to the box.
Kunitz got to a rebound of Chris Pronger's shot and bounced the puck off the right post and into Lundqvist, who knocked it in.
Anaheim had at least three goals for the second straight game after scoring only five in the previous six contests. The Ducks scored three times on 14 shots through two periods.
"Things were happening for us that hadn't happened a lot over the last eight games," defenseman Scott Niedermayer said. "We were generating some chances, and when you do they find their way into the net."
Anaheim, which visited the White House on Wednesday in honor of last season's championship, was outshot 12-7 in the first, 11-7 in the second and 10-5 in the third.
Despite most of the early action taking place in the Anaheim end, the Ducks took a 1-0 lead on their fourth shot when Schneider found the net through traffic at 10:36.
Anaheim LW Travis Moen (flu) sat out his second straight game. Checking center Samuel Pahlsson (abdominal) missed his 20th. ... Rangers RW Brendan Shanahan was out for the third consecutive game. ... Anaheim has an NHL-high 48 fights. ... Teemu Selanne had an assist in his second straight game since rejoining the Ducks.
Copyright by STATS LLC and The Associated Press
Arena: Madison Square Garden Location: New York, New York
Referees: Kerry Fraser, Justin St. Pierre Linesmen: Steve Barton, Jean Morin
Attendance: 18,200 (101.1% full)
Team Stat Comparison
Power Play Goals
Power Play Opportunities
Shots on Goal
Mathieu Schneider (7)
Assists: Brian Sutherby, George Parros
Ryan Callahan (2)
Assists: Sean Avery, Blair Betts
Corey Perry (28)
Assist: Mathieu Schneider
Chris Kunitz (16)
(Power Play) Assists: Chris Pronger, Teemu Selanne