After winning just four times in their first 16 games, the Kings have captured two in a row.
The Magic held a 68-64 lead a minute deep in the fourth quarter, but Fredette scored five points in the game's key outburst that push the Kings on top 73-68.
DeMarcus Cousins and Isaiah Thomas had 17 points each for Sacramento and Fredette added 15, coming within three of his season high. The Kings won despite hitting just 40 percent of their shots from the field and making a mere 4-of-22 from 3-point range.
Sacramento held a 14-point lead at halftime, but all of that advantage was erased in the third quarter.
Glen Davis led Orlando with 20 points and 11 rebounds.