Getzlaf scored in overtime as the Anaheim Ducks gave Edmonton fans an unhappy final look at their team in a 3-2 decision at Rexall Place.
An Edmonton shot caromed off the boards and came all the way down the ice for a Getzlaf breakaway, and he beat Edmonton goalie Devan Dubnyk through the legs 1:12 into extra time.
Andrew Cogliano and Bobby Ryan also scored for the Ducks, who ended a three-game winless streak and moved up to 23rd in the NHL with one game to play this season.
Sam Gagner and Jordan Eberle scored for the Oilers who sit next-to-last in the NHL and finished off the season 18-17-6 on home ice this season.
"It was actually a pretty bad game for us," said Cogliano, who was dealt by the Oilers to the Ducks last summer. "The first period, we were badly out-shot. It was ugly, but we found a way to win. That's good because you want to finish the year off well and have something to look forward to next year."
Anaheim had a great chance four minutes in as it looked like Ryan was going to have a clear breakaway, but Dubnyk hustled way out of the net to make a diving play to strip him of the puck.
Edmonton's best chance in the scoreless first period came halfway through as Gagner dropped a pass back to Eric Belanger, but he shot wide of the open net.
Edmonton had 11 shots on Ducks goalie Jeff Deslauriers, while Anaheim only had two shots on Dubnyk through 20 minutes.
"I was pretty happy to get this start against Edmonton," said Deslauriers, who played for the Oilers' organization from 2007-10. "It was great to get the win here."
The Oilers finally broke the scoreless deadlock midway through the second period. Jeff Petry's shot rang off the post but came back to Gagner, who scored his 18th of the season past a flailing Deslauriers.
The Ducks came back with two quick goals late in the second period to surge ahead 2-1.
With three minutes to play in the middle period, Cogliano came off the boards and sent a quick snap shot from the right faceoff dot past Dubnyk. Just 36 seconds later, Ryan came away with a loose puck on the doorstep and lifted it over the Oilers starter for his 29th goal of the season.
Edmonton tied it with six minutes remaining in the third period. Ryan Nugent-Hopkins fed a pass to Eberle and he deked out Deslauriers before flipping in a backhander for his 34th of the year, eventually sending the game to overtime.
Both teams conclude their seasons on Saturday as the Oilers travel to Vancouver to play the Canucks and the Ducks are in Calgary.
"Until we get deeper and have more firepower and some different ways to win, we are going to have to play smart, really intelligent hockey that doesn't give the opponent too much and gives us a chance to sting you with a quick strike," Edmonton coach Tom Renney said. "We'll get there and it will be fun to watch when we do. But you aren't going to win in this game if you don't defend properly and pay attention to detail."
Material from wire services and team media was used in this report.
1 - 0 EDM
1 - 1 Tie
2 - 1 ANA
2 - 2 Tie
3 - 2 ANA
Power Play Stats
Power Play %
% on Road
% at Home