Lecavalier, who played 14 years for the Lightning after being selected first overall in the 1998 draft, faced his old team for the first time and scored a power-play goal late in the third period. The former Tampa Bay captain received a standing ovation after a video tribute was played on the scoreboard midway through the first.
Ondrej Palat and Tyler Johnson also scored for the Lightning, who have won seven in a row at home. Tampa Bay, behind goalie Ben Bishop, beat the New York Rangers 5-0 Monday night.
Anders Lindback was in net for the Lightning in this one and he stopped Wayne Simmonds' backhander on a first-period penalty shot. Entering the day, there were only two goals scored on 21 NHL penalty shots dating to Oct. 10.
Mark Streit also scored for the Flyers, who played without right wing Matt Read (lower-body injury). Philadelphia was coming off a 3-1 loss Monday at Florida that ended a 6-0-1 stretch.
After Lecavalier and Streit got the Flyers to 3-2 with less than 2 minutes to play, Johnson secured the Lightning win by scoring an empty-net goal.
Hedman put the Lightning up 1-0 when he beat Ray Emery from a tough angle just above the goal line near the left wing boards 9:15 into the second. Palat made it 2-0 on a short-handed rebound after Emery turned aside Hedman's shot at 12:16.
Tampa Bay went ahead 3-0 on Hedman's power-play goal in the third.
Tampa Bay has been impacted by a number of injuries recently, including one to star center Steven Stamkos, who expects to play again this season after breaking his right leg on Now. 11.
Lightning coach Jon Cooper said left wing Ryan Malone, who took a shot off his skate last week, is being evaluated to see if he has a chipped bone. Defenseman Radko Gudas, out with an upper-body injury, could return within the next week.
Bishop, scheduled to get the night off, left the morning skate early after taking a shot off his hand. Cooper said Bishop is OK.
Other Lightning players sidelined include forwards Pierre-Cedric Labrie (arm) and Tom Pyatt (broken collarbone).
Tampa Bay defenseman Keith Aulie returned after missing seven games with an upper-body injury.
NOTES: Lightning C Dana Tyrell, recalled from Syracuse of the AHL before the game, didn't play. ... LW Michael Raffl replaced Read in Philadelphia's lineup. ... Palat ended a 14-game goal drought.