Bristol City lost for the fifth game in succession as Sean Scannell's first-half goal gave Huddersfield victory.
Former Crystal Palace winger Scannell ran on to Lee Novak's cut-back to smash home from six yards just before the break.
City almost snatched an equaliser deep into added time, but Huddersfield keeper Alex Smithies saved superbly from Stephen McManus.
Bristol City's last five results
Huddersfield Town 1-0
1-2 Hull City
Bolton Wanderers 3-2
Leicester City 2-0
Huddersfield move up to seventh, while City remain in the relegation zone.
The home side were forced into making a number of changes for the game, with the suspended Jack Hunt and injured strike duo Jermaine Beckford and James Vaughan all out.
Scannell was one of the players to come into the side and he brought a quiet first half to life with a goal in the 43rd minute.
Novak cut the ball back from the left wing and Scannell raced in to rifle a shot beyond Dean Gerken from six yards.
The visitors were almost level before the interval as Cole Skuse's half-volley deflected off Peter Clarke, but the ball bounced wide.
Clear-cut chances were relatively few and far between in the second half, with Huddersfield's Adam Hammill shooting just over the bar, while City's Martyn Woolford saw a rising effort go over the goal.
The Robins continued to press and were only denied a dramatic late leveller when Smithies dived at full stretch to keep out McManus's effort.
Huddersfield manager Simon Grayson:
"We have played better and not won but we needed to get back to winning ways. One bit of quality has won us the game.
"If our finishing had been more ruthless we wouldn't have been under the pressure we were in the last 10 minutes."
Bristol City manager Derek McInnes:
"We've not been finding goals difficult to come by but they were in this game.
"We have not managed to be clinical enough and passed over some good opportunities.
"But the players deserve great credit for never giving up and this gives me great encouragement going forward."
Free kick awarded for an unfair challenge on Peter Clarke by Sam Baldock. Peter Clarke takes the free kick.
Albert Adomah delivers the ball in from the corner.
Substitution Anthony Gerrard replaces Sean Scannell.
Anton Robinson concedes a free kick for a foul on Ryan Taylor. Neil Kilkenny restarts play with the free kick.
Daniel Ward challenges Ryan Taylor unfairly and gives away a free kick. Free kick crossed right-footed by Albert Adomah from right channel, clearance made by Paul Dixon. Shot from just outside the box by Martyn Woolford goes over the bar.
Substitution Stephen Pearson leaves the field to be replaced by Martyn Woolford.
Substitution Oliver Norwood goes off and Anton Robinson comes on.
Free kick awarded for an unfair challenge on Adam Clayton by Ryan Taylor. Direct free kick taken by Paul Dixon.
Foul by Matthew Briggs on Sean Scannell, free kick awarded. Calum Woods takes the free kick.
Corner taken by Oliver Norwood, save by Dean Gerken.
Free kick crossed right-footed by Oliver Norwood from left channel, save by Dean Gerken.
Booking Liam Fontaine booked.
Free kick awarded for an unfair challenge on Lee Novak by Liam Fontaine.
Substitution Ryan Taylor comes on in place of Jon Stead.
Substitution Daniel Ward joins the action as a substitute, replacing Adam Hammill.
Adam Hammill produces a left-footed shot from inside the area that clears the bar.
Adam Hammill sends in a cross.
Header by Stephen Pearson from deep inside the penalty area misses to the left of the target.
Foul by Neil Kilkenny on Adam Clayton, free kick awarded. Oliver Norwood takes the direct free kick.
Substitution Neil Kilkenny replaces Marvin Elliott.
Marvin Elliott takes a shot. Alex Smithies makes a save.
Adam Clayton takes a shot. Save by Dean Gerken.
The ball is crossed by Richard Foster.
Adam Hammill produces a left-footed shot from just outside the box that goes wide left of the goal.
Headed effort on goal by Marvin Elliott from inside the penalty box misses to the right of the goal.
Effort from just outside the box by Adam Clayton goes over the bar.
Effort from inside the area by Jon Stead misses to the left of the target.
Free kick awarded for an unfair challenge on Albert Adomah by Paul Dixon. Richard Foster takes the free kick.
The assistant referee flags for offside against Lee Novak. Free kick taken by Dean Gerken.
Calum Woods takes a shot. Save made by Dean Gerken. Adam Hammill takes the outswinging corner, Marvin Elliott makes a clearance.
Keith Southern fouled by Jon Stead, the ref awards a free kick. Peter Clarke restarts play with the free kick.
Foul by Albert Adomah on Joel Lynch, free kick awarded. Alex Smithies restarts play with the free kick.
The second half has started.
45:00 +2:07 Half time
Half Time The first half comes to an end.
Cole Skuse takes a shot. Peter Clarke gets a block in. Corner taken by Albert Adomah from the left by-line, clearance made by Peter Clarke.
Assist by Lee Novak.
42:17 Goal scored
Goal - Sean Scannell - Huddersfld 1 - 0 Bristol C Sean Scannell finds the net with a goal from inside the six-yard box to the bottom left corner of the goal. Huddersfield 1-0 Bristol City.
The ball is crossed by Adam Hammill.
Free kick awarded for an unfair challenge on Stephen McManus by Lee Novak. Free kick taken by Dean Gerken.
Unfair challenge on Paul Dixon by Jon Stead results in a free kick. Alex Smithies takes the direct free kick.
Corner taken right-footed by Adam Hammill, Matthew Briggs manages to make a clearance.
The ball is crossed by Cole Skuse.
Booking Albert Adomah is cautioned by the ref for unsporting behaviour.
Albert Adomah gives away a free kick for an unfair challenge on Peter Clarke. Peter Clarke takes the direct free kick.
Jon Stead has shot on goal from just outside the penalty box which goes wide of the right-hand upright.
Foul by Cole Skuse on Oliver Norwood, free kick awarded. Free kick taken by Joel Lynch.
Booking Calum Woods is cautioned by the ref for unsporting behaviour.
Unfair challenge on Jon Stead by Calum Woods results in a free kick. Free kick taken by Matthew Briggs.
A cross is delivered by Jon Stead.
Oliver Norwood concedes a free kick for a foul on Marvin Elliott. Matthew Briggs takes the direct free kick.
Headed effort from inside the penalty area by Jon Stead misses to the right of the target.
Liam Fontaine challenges Adam Hammill unfairly and gives away a free kick. Keith Southern takes the free kick.
The referee gives a free kick against Albert Adomah for handball. Oliver Norwood fires a strike on goal direct from the free kick.
Foul by Oliver Norwood on Jon Stead, free kick awarded. Direct effort from the free kick comes in from Albert Adomah.
The referee starts the match.
Live text and data provided by The Press Association
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.