Rangers survived a second-half onslaught from Aberdeen to record a first home win under new manager Ally McCoist and stay top of the league.
Captain Steven Davis coolly chipped in to give Rangers an early lead with 15 minutes gone.
Richard Foster headed against the crossbar as Aberdeen improved in the second half.
But Steven Naismith tapped in a rebound from Davis's free kick in the dying seconds to secure victory.
The hosts made two changes to the side that was knocked out of the Europa League on Thursday. Naismith returned from suspension with youngster Ross Perry also added to the starting line-up.
Aberdeen meanwhile arrived at Ibrox without a victory there in almost 20 years, and there were early concerns for the visitors when Isaac Osbourne had to leave the field within seconds of kick-off after being caught by the trailing arm of Maurice Edu.
The 10 men left on the pitch dealt adequately with early opportunities for Rangers, Osbourne returning after a seven-minute absence sporting a head wound.
But despite being back at their full complement, Aberdeen were undone on the 15th minute mark.
Nikica Jelavic flicked the ball on to Davis who had timed his run to perfection and casually sent a lofted ball to the left hand side of David Gonzalez in the Aberdeen goal.
Craig Brown's side struggled to find any fluidity in the aftermath of the goal, but Rangers didn't capitalise, coming closest to a second from a set piece on the half hour mark; Gregg Wylde delivering from the corner flag to Dorin Goian at the near post, who headed over the bar.
Isaac Osbourne played on after sustaining an early head wound
For Aberdeen, Kari Arnason had the only real chance of the first half, but his shot from 25 yards fizzed well wide, with Allan McGregor otherwise untroubled in the Rangers goal.
Rangers made a change on the stroke of half-time when Goian was replaced by Steven Whittaker, who had been sidelined with a broken toe.
But it was a nervy restart for the home side when Carlos Bocanegra and Perry had a misunderstanding in defence which allowed Scott Vernon a much-needed chance for Aberdeen. McGregor, suddenly called into action, forced the Dons striker wide to extinguish the chance.
But Bocanegra gifted Aberdeen another chance, almost heading into his own net when clearing a Rory McArdle cross. McGregor clawed it away only as far as Foster whose diving header from eight yards out came off the crossbar in what was Aberdeen's best chance of an equaliser.
Rangers adapted to a 4-5-1 formation but struggled to control the midfield area as Aberdeen became more ambitious as the second half wore on, Fraser Fyvie joining the list of players making an attempt on goal.
The midfielder created space for himself before unleashing a shot from 25 yards out which forced another save from McGregor.
McCoist chose to introduce new signing Alejandro Bedoya for the remaining 20 minutes, Kyle Lafferty the player to give way.
And in added time the home side finally put the tie out of Aberdeen's reach. Davis's free kick from 25 yards out was spilled by the Dons' keeper with Naismith quick to pounce and tap the ball into the net to secure a valuable but unconvincing win.
Full Time The final whistle goes and the game is over.
Free kick taken by Steven Davis.
90:00 +1:57 Booking
Booking Youl Mawene is given a yellow card.
Foul by Youl Mawene on Nikica Jelavic, free kick awarded.
Assist by Steven Davis.
90:00 +1:06 Goal scored
Goal! - Steven Naismith - Rangers 2 - 0 Aberdeen Steven Naismith scores a goal from close range low into the middle of the goal. Rangers 2-0 Aberdeen.
Free kick awarded for a foul by Kari Arnason on Kirk Broadfoot. Steven Davis has an effort direct from the free kick, David Gonzalez makes a save.
Andrew Considine concedes a free kick for a foul on Nikica Jelavic. Ross Perry restarts play with the free kick.
Gregg Wylde delivers the ball, Header from deep inside the area by Nikica Jelavic goes over the bar.
Steven Whittaker gives away a free kick for an unfair challenge on Youl Mawene. Free kick taken by David Gonzalez.
Steven Davis takes a shot. Blocked by Isaac Osbourne.
Maurice Edu challenges Isaac Osbourne unfairly and gives away a free kick. Isaac Osbourne takes the free kick.
Centre by Kari Arnason, clearance made by Gregg Wylde.
80:00 +2:32 Booking
Booking Steven Naismith receives a caution for unsporting behaviour.
Unfair challenge on Kari Arnason by Steven Naismith results in a free kick. Direct free kick taken by Youl Mawene.
Gregg Wylde produces a cross, Isaac Osbourne gets a block in.
Substitution Mohamed Chalali is brought on as a substitute for Rory McArdle.
The ball is swung over by Kari Arnason, Kirk Broadfoot makes a clearance.
Kirk Broadfoot sends in a cross, Youl Mawene makes a clearance.
Substitution Scott Vernon leaves the field to be replaced by Josh Magennis.
Andrew Considine restarts play with the free kick.
Substitution Kyle Lafferty goes off and Alejandro Bedoya comes on.
Booking Booking for Maurice Edu.
Free kick awarded for a foul by Maurice Edu on Kari Arnason.
Fraser Fyvie takes a shot. Save by Allan McGregor.
Rory McArdle sends in a cross, Steven Whittaker makes a clearance.
The ball is swung over by Gregg Wylde, Kyle Lafferty takes a shot. Save made by David Gonzalez.
Shot from long range by Gregg Wylde goes wide of the left-hand post.
The ball is sent over by Steven Davis, Rory McArdle manages to make a clearance.
Corner taken left-footed by Fraser Fyvie, Youl Mawene takes a shot. Save by Allan McGregor.
Peter Pawlett crosses the ball, Steven Whittaker manages to make a clearance.
Steven Whittaker delivers the ball.
Scott Vernon takes a shot. Save by Allan McGregor. Close range header by Richard Foster goes over the bar.
Nikica Jelavic has an effort at goal from the edge of the box that misses to the right of the target.
Corner taken left-footed by Gregg Wylde from the right by-line to the near post, Richard Foster makes a clearance.
The ball is crossed by Steven Whittaker, Richard Foster gets a block in.
Youl Mawene fouled by Kyle Lafferty, the ref awards a free kick. Direct free kick taken by Rory McArdle.
Scott Vernon is flagged offside by the assistant referee. Steven Whittaker takes the indirect free kick.
Peter Pawlett fouled by Kirk Broadfoot, the ref awards a free kick. Rory McArdle restarts play with the free kick.
Foul by Youl Mawene on Kyle Lafferty, free kick awarded. Kirk Broadfoot takes the direct free kick.
Steven Whittaker gives away a free kick for an unfair challenge on Fraser Fyvie. Fraser Fyvie takes the direct free kick. Shot from just outside the box by Kari Arnason misses to the left of the target.
Gregg Wylde delivers the ball.
Fraser Fyvie takes the inswinging corner, clearance by Ross Perry.
Fraser Fyvie produces a cross, Gregg Wylde makes a clearance.
The game restarts for the second half.
Substitution Peter Pawlett replaces Ryan Jack.
45:00 +2:38 Half time
Half Time The referee blows for half time.
45:00 +1:50 Substitution
Substitution Steven Whittaker is brought on as a substitute for Dorin Goian.
Cross/shot by Gregg Wylde.
Dorin Goian concedes a free kick for a foul on Fraser Fyvie. Free kick crossed left-footed by Robert Milsom from right channel, Steven Naismith manages to make a clearance.
Kari Arnason produces a left-footed shot from deep inside the penalty area which goes wide of the left-hand post.
Kari Arnason takes a shot. Steven Naismith gets a block in.
Steven Naismith produces a right-footed shot from just outside the box that goes wide right of the goal.
Steven Davis is caught offside. Youl Mawene restarts play with the free kick.
The ball is delivered by Gregg Wylde, clearance by Andrew Considine.
Steven Davis concedes a free kick for a foul on Ryan Jack. Youl Mawene restarts play with the free kick.
Kari Arnason produces a left-footed shot from the edge of the box and misses to the left of the goal.
Inswinging corner taken by Gregg Wylde from the right by-line played to the near post, Dorin Goian produces a header from inside the area that goes over the crossbar.
Steven Davis produces a cross, blocked by Kari Arnason.
Andrew Considine challenges Nikica Jelavic unfairly and gives away a free kick. Steven Davis takes the direct free kick.
Kyle Lafferty takes a shot. Isaac Osbourne gets a block in.
Isaac Osbourne delivers the ball.
A cross is delivered by Gregg Wylde, Richard Foster manages to make a clearance.
Ryan Jack sends in a cross, save by Allan McGregor.
The assist for the goal came from Nikica Jelavic.
14:26 Goal scored
Goal! - Steven Davis - Rangers 1 - 0 Aberdeen Steven Davis finds the net with a goal from deep inside the penalty box to the bottom right corner of the goal. Rangers 1-0 Aberdeen.
Gregg Wylde sends in a cross, clearance made by Andrew Considine.
Effort on goal by Kyle Lafferty from just inside the area clears the bar.
Unfair challenge on Maurice Edu by Isaac Osbourne results in a free kick. Kirk Broadfoot takes the direct free kick.
Gregg Wylde has an effort at goal from deep inside the area missing to the right of the target.
Dorin Goian fouled by Ryan Jack, the ref awards a free kick. Direct free kick taken by Dorin Goian.
The referee gives a free kick against Nikica Jelavic for handball. Free kick taken by Andrew Considine.
Inswinging corner taken right-footed by Kyle Lafferty from the right by-line, Unfair challenge on David Gonzalez by Maurice Edu results in a free kick. David Gonzalez restarts play with the free kick.
Centre by Steven Davis, Ryan Jack manages to make a clearance.
Gregg Wylde delivers the ball.
Kyle Lafferty takes a shot. Blocked by Youl Mawene.
The ball is delivered by Gregg Wylde, Youl Mawene makes a clearance.
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.