Alfie May’s double for Charlton secured a 2-1 win over play-off hopefuls Barnsley at The Valley.
May broke the deadlock with a tremendous free-kick in the 20th minute to fire Charlton ahead.
Adam Phillips grabbed an equaliser for Barnsley eight minutes later from the penalty spot following a handball by Kayne Ramsay.
But, after a dreadful miss from inside the six-yard box by Devante Cole, the Addicks regained the lead in the 40th minute when May curled in a shot from the left corner of the box following a clever dummy by George Dobson.
Chuks Aneke missed a 94th-minute penalty for Charlton after Liam Roberts fouled Tyreece Campbell, and Barnsley assistant coach Jon Stead was sent off for dissent a minute later.
Defeat left Barnsley with two wins from seven matches and Cole wihtout a goal in 12. But the Tykes still only need seven points from their last five games to guarantee a play-off spot.
The Addicks have now gone 11 games without defeat.