Luke Steele saved a late penalty as Barnsley moved out of the relegation zone while Brighton's play-off hopes suffered another blow at Oakwell.
Barnsley, who started the night bottom, were ahead in the 16th minute thanks to striker Jason Scotland.
Leonardo Ulloa headed the Seagulls level on the hour but Chris Dagnall restored Barnsley's lead from the spot.
Barnsley became the first team to play 3,000 games in second level league football
Striker Ulloa had a chance to equalise for the second time in the 83rd minute but Steele kept out his penalty.
Barnsley are now two points above the bottom three with a game in hand while Brighton missed the opportunity to reclaim the final play-off position.
David Flitcroft's side quickly shrugged off their FA Cup drubbing to Manchester City at the weekend, when Scotland held off Adam El-Abd's challenge to fire Barnsley into an early lead.
Jacob Mellis almost doubled their advantage with a powerful free-kick that was deflected wide.
Brighton improved in the second half and were level when Inigo Calderon's cross picked out an unmarked Ulloa to head past Steele.
Barnsley restored their lead in the 65th minute when El-Abd pulled back Dagnall in the box before the striker tucked away the penalty.
The visitors went close to an equaliser when Kazenga LuaLua was denied by Steele while Liam Bridcutt blazed over from close range.
But Ullua wasted the best chance from the spot after David Perkins fouled Calderon - Steele palming away the Argentine's shot.
Barnsley manager David Flitcroft: "I am very proud, we have set a team up to battle and they have done that in the first half.
"I have got massive respect for Brighton in terms of the football they play. I am a massive Brighton fan in terms of that. We got schooled down there earlier in the season and that was one of the worst trips I have had.
"But I am delighted because the game plan we set out has worked. We didn't let them play with any freedom or fluidity and I don't think any of their players would have enjoyed playing here."
Brighton manager Gus Poyet: "We knew we would have to fight and compete and I got the feeling that we gave the game away with the goals that we gave away, but that is how it has been for a while so I am not surprised.
"Unfortunately I am getting used to this, we have played three games away from home in a week. The first game was terrible, then we were by far the better team at Bolton and lost 1-0 and today if anyone said Barnsley deserved to win then I should retire.
"The good thing is the only people to blame is ourselves. It's not the opposition, the pitch, the referee or the weather. We have another nine games and we'll see. We'll try our best."
- 01 Steele
- 14 Wiseman
- 25 Cranie
- 33 Kennedy
- 05 Delap Booked (Hassell - 79' )
- 08 O'Brien Booked (Cywka - 74' )
- 11 Perkins Booked
- 21 Mellis
- 09 Scotland (Dagnall - 58' )
- 23 Etuhu
- 27 O'Grady
- 30 Lidakevicius
- 02 Hassell
- 07 Dawson
- 19 Cywka
- 28 Tunnicliffe
- 13 Dagnall
- 16 Harewood
Brighton & Hove Albion
- 29 Kuszczak
- 02 Bruno (Crofts - 61' )
- 06 El-Abd Booked
- 14 Calderon
- 20 Upson
- 04 Hammond (Barker - 79' )
- 11 Orlandi
- 21 David Lopez (LuaLua - 56' )
- 26 Bridcutt
- 30 Buckley
- 19 Ulloa
- 16 Ankergren
- 03 Greer
- 08 Crofts
- 18 Dicker
- 25 LuaLua
- 35 Forster-Caskey
- 33 Barker
Live Text Commentary
Full Time The referee signals the end of the game.90:00 +3:14
The ball is delivered by Andrea Orlandi, Headed effort on goal by George Barker from inside the penalty box misses to the right of the goal.90:00 +1:03
Tomasz Cywka concedes a free kick for a foul on Andrew Crofts. Direct free kick taken by Tomasz Kuszczak.89:33
Jose Ulloa gives away a free kick for an unfair challenge on Jacob Mellis. Bobby Hassell takes the free kick.88:50
Andrea Orlandi concedes a free kick for a foul on Chris O'Grady. Jacob Mellis takes the direct free kick.88:23
Chris O'Grady fouled by Matthew Upson, the ref awards a free kick. Jacob Mellis restarts play with the free kick.87:10
Corner taken short by Chris O'Grady.86:42
Short corner worked by Jacob Mellis.84:18
Unfair challenge on Chris O'Grady by Matthew Upson results in a free kick. Jacob Mellis crosses the ball, Chris Dagnall takes a shot. Tomasz Kuszczak makes a comfortable save.83:38
Liam Bridcutt challenges Scott Wiseman unfairly and gives away a free kick. Luke Steele restarts play with the free kick.82:09 Penalty
Penalty taken by Jose Ulloa is saved by Luke Steele. Barnsley 2-1 Brighton.80:57
David Perkins gives away a Penalty for an unfair challenge on Inigo Calderon.78:07 Substitution
Substitution Rory Delap leaves the field to be replaced by Bobby Hassell.78:07 Substitution
Substitution George Barker is brought on as a substitute for Dean Hammond.76:44
Kazenga LuaLua has a shot on goal from outside the box which misses right.76:04
Kazenga LuaLua fouled by Rory Delap, the ref awards a free kick. Free kick taken by Andrea Orlandi.74:00
Free kick awarded for an unfair challenge on Dean Hammond by Kelvin Etuhu. Liam Bridcutt restarts play with the free kick. The referee blows for offside. Luke Steele takes the indirect free kick.73:15
Direct free kick taken by Andrea Orlandi.73:15 Substitution
Substitution Tomasz Cywka on for Jim O'Brien.73:15
David Perkins concedes a free kick for a foul on Andrea Orlandi.
Chris O'Grady concedes a free kick for a foul on Adam El-Abd. Direct free kick taken by Adam El-Abd.71:13
Free kick taken by Luke Steele.71:13 Booking
Booking The referee shows Jim O'Brien a yellow card.71:05
Jose Ulloa concedes a free kick for a foul on Martin Cranie.68:33
A cross is delivered by Kazenga LuaLua, Liam Bridcutt produces a left-footed shot from inside the area that clears the crossbar.67:45
Effort on goal by Kazenga LuaLua from 20 yards. Luke Steele makes a brilliant save.65:51
Andrea Orlandi crosses the ball from the free kick left-footed from left wing. The assistant referee flags for offside against Matthew Upson. Luke Steele restarts play with the free kick.65:51 Booking
Booking Rory Delap booked.65:40
Free kick awarded for a foul by Rory Delap on Kazenga LuaLua.64:07
Will Buckley fouled by Martin Cranie, the ref awards a free kick. Liam Bridcutt takes the direct free kick.63:11
Assist on the goal came from Chris O'Grady.63:11 Goal scored
Goal! - Chris Dagnall - Barnsley 2 - 1 Brighton Penalty taken right-footed by Chris Dagnall and scored. Barnsley 2-1 Brighton.62:26 Booking
Booking Adam El-Abd shown a yellow card.61:56
Adam El-Abd concedes a Penalty for a foul on Chris O'Grady.60:34 Substitution
Substitution (Brighton) makes a substitution, with Andrew Crofts coming on for Bruno Saltor.58:20
The assist for the goal came from Inigo Calderon.58:20 Goal scored
Goal! - Jose Ulloa - Barnsley 1 - 1 Brighton Jose Ulloa finds the net with a headed goal from inside the penalty area. Barnsley 1-1 Brighton.56:58
Direct free kick taken by Adam El-Abd.56:58 Substitution
Substitution Jason Scotland goes off and Chris Dagnall comes on.56:58
Free kick awarded for an unfair challenge on Kazenga LuaLua by Kelvin Etuhu.55:59 Substitution
Substitution Kazenga LuaLua joins the action as a substitute, replacing Moreno David Lopez.55:43
Andrea Orlandi decides to take a short corner.55:21
Outswinging corner taken left-footed by Andrea Orlandi, save made by Luke Steele.55:01
Andrea Orlandi takes a shot. Save by Luke Steele.54:21
Corner taken short by Moreno David Lopez.54:07
Moreno David Lopez takes a shot. Save by Luke Steele.53:22
The ball is crossed by Jim O'Brien, Chris O'Grady produces a header from inside the area that goes over the crossbar.52:09
David Perkins takes a shot. Save made by Tomasz Kuszczak.48:07
The official flags Jose Ulloa offside. Free kick taken by Luke Steele.47:37
Corner taken short by Andrea Orlandi.47:06
Andrea Orlandi decides to take a short corner.46:18
Will Buckley challenges David Perkins unfairly and gives away a free kick. Rory Delap takes the direct free kick.45:10
The referee blows for offside. Free kick taken by Luke Steele.45:01
The referee starts the second half.45:00 +1:10 Half time
Half Time The ref blows to signal half-time.45:00 +0:24
Inswinging corner taken right-footed by Jacob Mellis from the left by-line to the near post, clearance by Jose Ulloa.43:52
Free kick awarded for a foul by Liam Bridcutt on Jacob Mellis. Direct strike on goal from the free kick comes in from Jacob Mellis, blocked by Adam El-Abd.42:21
Free kick awarded for a foul by Kelvin Etuhu on Inigo Calderon. Free kick taken by Tomasz Kuszczak.38:32
Free kick awarded for an unfair challenge on Martin Cranie by Jose Ulloa. Free kick taken by David Perkins.36:37
Dean Hammond fouled by Chris O'Grady, the ref awards a free kick. Bruno Saltor takes the direct free kick.35:00
Jose Ulloa is flagged offside by the assistant referee. Free kick taken by Martin Cranie.34:06
Unfair challenge on Will Buckley by Rory Delap results in a free kick. Liam Bridcutt takes the free kick.32:32
Jose Ulloa challenges David Perkins unfairly and gives away a free kick. Scott Wiseman takes the free kick.31:50
Foul by Kelvin Etuhu on Will Buckley, free kick awarded. Free kick taken by Matthew Upson.28:32 Booking
Booking The referee shows David Perkins a yellow card for unsporting behaviour.26:28
Effort from deep inside the area by Will Buckley misses to the left of the goal.26:07
The ball is sent over by Rory Delap, Jason Scotland takes a shot. Save by Tomasz Kuszczak.24:23
Free kick awarded for an unfair challenge on David Perkins by Matthew Upson. Luke Steele restarts play with the free kick.23:40
Foul by Rory Delap on Will Buckley, free kick awarded. Andrea Orlandi delivers the ball from the free kick left-footed from left wing, Martin Cranie makes a clearance.18:48
Jacob Mellis takes a long range shot clearing the bar.17:53
Free kick awarded for an unfair challenge on Inigo Calderon by Jim O'Brien. Inigo Calderon takes the direct free kick. Foul by Bruno Saltor on Jason Scotland, free kick awarded. Direct free kick taken by Tom Kennedy.17:03
Kelvin Etuhu takes a long range shot clearing the crossbar.15:51
Free kick awarded for an unfair challenge on David Perkins by Moreno David Lopez. Tom Kennedy takes the free kick.14:33
Chris O'Grady provided the assist for the goal.14:33 Goal scored
Goal! - Jason Scotland - Barnsley 1 - 0 Brighton Goal scored by Jason Scotland from inside the penalty box to the bottom left corner of the goal. Barnsley 1-0 Brighton.14:08
Dean Hammond gives away a free kick for an unfair challenge on David Perkins. Luke Steele takes the direct free kick.11:43
Chris O'Grady fouled by Dean Hammond, the ref awards a free kick. The free kick is swung in left-footed by Tom Kennedy, clearance made by Jose Ulloa.11:31
Will Buckley is penalised for a handball. Free kick taken by Tom Kennedy.7:28
Foul by Martin Cranie on Jose Ulloa, free kick awarded. Liam Bridcutt takes the direct free kick.4:11
Jason Scotland produces a left-footed shot from outside the penalty box and misses wide left of the target.1:50
Will Buckley produces a right-footed shot from just outside the box that misses to the right of the net.0:00
The ref blows the whistle to begin the match.
Live data and text provided by our data suppliers