Alan Freeman was the star of the show as Mayo claimed a crucial Allianz Football League Division 1 win at McHale Park on a scoreline of 2-15 to 1-13.
Full forward Freeman scored 1-05 with three of the points arriving during an important stage of the second half.
Goals from Freeman and Jason Doherty had Mayo 2-07 to 0-11 ahead at the end of an absorbing opening period.
Stephen O'Brien's 39th minute goal gave Kerry hope, but Mayo finished strongly with Freeman effective to dig out a vital victory.
Despite playing some fine football Kerry were extremely unfortunate to be trailing at the break as they responded well to the concession of an early goal.
Only 28 seconds had elapsed when Alan Freeman rattled the Kerry net following a sharp move involving Aidan O'Shea, Andy Moran, and Jason Doherty.
But Kerry were moving the ball quickly to an inside forward line that were causing plenty of problems for the locals.
Barry John Keane was prominent initially rifling over two points, while James O'Donoghue and midfielder David Moran also found the range.
At the opposite end Freeman and Michael Conroy did nail scores as the teams were deadlocked at 1-03 to 0-06 by the 18th minute.
Kerry then enjoyed a productive spell as Conor Cox's accuracy was another encouraging feature for the visitors'.
Three Cox points had Kerry leading by two before Mayo summoned a burst in first half injury time to stun Eamonn Fitzmaurice's side.
Adam Gallagher slotted a routine free and then Doherty drilled an opportunistic goal to nudge Mayo back in front.
After the restart it was similarly eventful as Kerry came thundering back into the reckoning with Cox landing a point before a 39th minute goal.
O'Brien, who was making a significant impression, slotted a delightful shot into the top corner and suddenly Kerry were 1-12 to 2-07 in the ascendancy.
A Kevin McLoughlin free and a smashing effort from Jason Doherty had the teams level again by the 43rd minute.
Then O'Brien pointed for the Kingdom, but Mayo, roared on by a typically passionate home crowd, struck six in a row from Freeman (4), McLoughlin, and Enda Varley.
Kerry lost for the third League match on the spin as Mayo concluded the contest with a flourish to open their account.
Mayo: R Hennelly; B Harrison, G Cafferkey, K Higgins; L Keegan (0-01), S McHale, C Boyle; A O'Shea, J Gibbons; K McLoughlin (0-4, 3fs), A Moran, J Doherty (1-01); A Gallagher (0-02, 2fs), A Freeman (1-05, 3fs), M Conroy (0-01).
Subs: E Varley (0-01) for Gallagher (43 mins), D Vaughan for McHale (52 mins), S O'Shea for Gibbons (59 mins), C Carolan for Conroy (65 mins), D O'Connor for Moran (70 mins).
Kerry: B Kealy; P Murphy, M Griffin, S Enright; P Crowley, A O'Mahony, M O'Sé; A Maher, D Moran (0-01); S O'Brien (1-02), D Casey, D Walsh (0-01); BJ Keane (0-02), C Cox (0-04, 3fs), J O'Donoghue (0-03, 1f).
Subs: F Fitzgerald for O'Mahony (36 mins), P Kilkenny for Enright (42 mins, black card), M Geaney for Casey (55 mins), J Sherwood for O'Sé (56 mins), J Buckley for Walsh (59 mins), B McGuire for Crowley 64 mins).
Referee: C Branagan (Down).