Edinburgh (21) 27
Tries: Hogg, Houston, Webster Cons: Paterson (2) Pens: Paterson (2)
Leinster (3) 16
Try: Fogarty Con: McFadden Pens: McFadden (3)
Webster scored Edinburgh's third try against Leinster
An excellent first-half performance helped Edinburgh overcome an under-strength Leinster and claim a Magners League victory at Murrayfield.
Tries by Ally Hogg, John Houston and Simon Webster helped Edinburgh into a commanding 21-3 half-time lead.
John Fogarty got Leinster's first try just before the hour mark and Fergus McFadden's penalty brought the visitors to within eight points of Edinburgh.
But Chris Paterson's assured kicking settled the home side's nerves.
Leinster, who rested Brian O'Driscoll, Rob Kearney and Felipe Contepomi amongst others, remain second in the table while Edinburgh move up to third.
Forceful running by Paterson pushed Leinster on to the back foot and, after Edinburgh moved the ball from right to left, Hogg found a gap in the visitors' defence to run in the opening try, which Paterson converted.
Ross Ford was the catalyst for Edinburgh's second try, collecting a loose ball and evading several Leinster players before releasing Houston, who sped over the line for another converted try.
The home side continued to dominate and captain Mike Blair's cross-field run set up Webster to touch down Edinburgh's third try under the posts, with Paterson adding the extras.
Blair and Nick De Luca combined to put Houston through on the right again but the winger was stopped in his tracks, with the referee bringing play back for a forward pass.
Leinster reduced the arrears with Fergus McFadden scoring a penalty either side of half time.
Sean O'Brien found a gap in the Edinburgh defence and a made a break for the line but a last-ditch tackle by Paterson prevented Leinster registering their first try.
Houston threatened to touch down in the corner again before Paterson and McFadden exchanged penalties.
Leinster replacement Paul O'Donohoe stretched the Edinburgh defence in the build-up to Fogarty's try, McFadden adding the conversion.
Ben Cairns almost exploited a slip by McFadden but the Leinster centre chased back to stop his opposite number from crossing the line.
Paterson then gave Edinburgh some breathing space with a penalty.
Edinburgh went in search of the try which would have secured a bonus point but a fourth score proved elusive.
Hogg went over the line after receiving replacement Matt Mustchin's pass but the lock forward was adjudged by the television match official to have been in touch when he released the ball.
Edinburgh head coach Andy Robinson:
"We played well for 30 minutes and then we dropped off so I've questioned our fitness and the attitude we had.
"We had some real bite and shape in the first 30 minutes and then we played as if we thought the game was won and that we had the bonus point in the bag and that's disappointing.
"When we forward and we got numbers quickly to the ball, we got good speed of ball but in the second half we dropped off that.
"At times in the second half we maybe overcomplicated it and we didn't look after the ball well enough.
"We have to have a ruthless edge about ourselves."
Edinburgh: Paterson, Houston, Cairns, De Luca, Webster, Godman, M. Blair, Traynor, Ford, G. Cross, C. Hamilton, J. Hamilton, Newlands, MacDonald, Hogg.
Replacements: D. Blair for Godman (53), Grant for G. Cross (60), MacLeod for C. Hamilton (53), Mustchin for Newlands (60). Not Used: Kelly, Laidlaw, A. Turnbull.
Leinster: Dempsey, Horgan, McFadden, D'Arcy, S. Keogh, Nacewa, Keane, McCormack, Fogarty, Knoop, Cullen, Hogan, Jowitt, O'Brien, S. Keogh.
Replacements: Brown for S. Keogh (21), O'Donohoe for Keane (56), le Roux for Knoop (41), Toner for Hogan (51), McLaughlin for Jowitt (56). Not Used: Blaney, I. McKinley.
Ref: Tim Hayes (WRFU)