Beckford had done everything but score before popping up with his sixth goal in his last four matches with four minutes remaining. It had looked like a rare Tom McMahon goal would give Middlesbrough victory when he struck in the 79th minute.
Scott McDonald had earlier cancelled out David Nugent's opener for Leicester to send the teams into half-time level. The draw still saw Boro climb back into the npower Championship play-off places.
The visitors were the first to threaten after five minutes with Barry Robson sending a shot narrowly wide from just outside the area. Two minutes later, Leicester took the lead. The ball was hooked into the box from the right and Nugent headed home at the far post from three yards out.
Boro equalised after 16 minutes. McMahon's corner was flicked on at the front post by Seb Hines and McDonald applied the finish from a yard out.
Leicester produced the move of the match just before half-time. Beckford collected the ball out on the right and cut inside before playing it into Nugent on the edge of the box and continuing his run. Nugent laid a first-time pass off to Lloyd Dyer, who dinked the ball over the top for Beckford but his shot just cleared the crossbar.
Foxes boss Pearson made two changes immediately afterwards, handing home debuts to Danny Drinkwater and Nathan Delfouneso. Paul Gallacher and Dyer were the men to make way.
Beckford seemed the man most likely to come up with a winner and he almost conjured something magical again midway through the second half but his hooked, left-foot volley from the left side of the area struck the crossbar.
McMahon may have thought he had sealed Boro's first league win since Boxing Day with a superbly-taken free-kick 11 minutes from time. It was the first time the 25-year-old had bothered the scoresheet since netting in a 3-2 win at Millwall on February 19, 2011.
But Beckford had other ideas and the lively striker got the goal he deserved in the 86th minute. McMahon's back pass always lacked pace and Jason Steele was forced out of his goal to try to clear. But his kick struck the onrushing Beckford and bounced goalwards, enabling the Leicester striker to level things up with a simple tap-in.
Source: PA
Source: PA