Match ends, Ross County 1, Dunfermline Athletic 0.
A goal from Ross County substitute Rafa de Vita with 20 minutes remaining was enough to see off Dunfermline in their Scottish Cup fourth-round replay.
The winger replaced the ineffectual Jonathan Franks at the interval and broke the deadlock in a scrappy affair.
Faissel El-Bahktaoui squandered Dunfermline's best chance moments before De Vita's winner.
County will now host either Forfar Athletic or Linlithgow Rose in the next round.
There were few clear-cut opportunities for either side but El-Bahktaoui missed a golden one by shooting straight at Scott Fox seconds before Ross County hit the front.
It was the League One leaders' first defeat in 14 games stretching back to early October but they did not look out of place against a team two divisions above them.
The Staggies will be relieved just to be through to the next round in a season that already offers a League Cup semi-final against Celtic to look forward to.
Dunfermline started the replay the way they finished the first meeting, by going at Ross County with pace, aggression and good movement in the forward areas.
Former County winger Joe Cardle was heavily involved and a more decisive attempt at goal by him might well have put the visitors into the lead as the home defence struggled early on.
Not that the Pars backline looked any more solid when put under pressure, and a lighter touch on the ball would have brought Brian Graham an opener in 32 minutes.
Instead he hooked the ball over Sean Murdoch and the crossbar from close range, and for long spells of the opening period the Premiership side were one dimensional in attack.
They failed to impose themselves on their League One opponents, which was perhaps a reflection of the continued injury absence of first-choice strikers Liam Boyce and Craig Curran.
The quality of play did not improve much after the interval, with very few good chances created by either side until poor El-Bakhtaoui missed a glaring opportunity.
The standout player of the first game played a neat exchange of passes with Michael Moffat to go clear but he shot straight at Fox when he really should have scored.
Within a minute Ross County finally broke the deadlock when Michael Gardyne produced a telling cross from the left, Graham's physicality created space and De Vita crashed in his second goal of the season to seal County's passage into the next round.
- 2FraserBooked at 71mins
- 17FranksSubstituted forDe Vitaat 45'minutesBooked at 79mins
- 36IrvineSubstituted forMcShaneat 68'minutes
- 23SchalkSubstituted forQuinnat 75'minutes
- 24De Vita
- 2RooneyBooked at 36mins
- 5Richards-EvertonBooked at 45minsSubstituted forMcCabeat 76'minutes
- 11CardleSubstituted forHopkirkat 66'minutes
- 9MoffatBooked at 53minsSubstituted forWallaceat 79'minutes
- 10El Bakhtaoui
- Alan Muir
- Shots on Target
Second Half ends, Ross County 1, Dunfermline Athletic 0.
Brian Graham (Ross County) wins a free kick in the defensive half.
Foul by Shaun Rooney (Dunfermline Athletic).
Corner, Dunfermline Athletic. Conceded by Michael Gardyne.
Attempt missed. Rhys McCabe (Dunfermline Athletic) right footed shot from the left side of the box is just a bit too high.
Hand ball by Raffaele De Vita (Ross County).
Foul by Stewart Murdoch (Ross County).
Josh Falkingham (Dunfermline Athletic) wins a free kick in the attacking half.
Substitution, Dunfermline Athletic. Ryan Wallace replaces Michael Moffat.
Raffaele De Vita (Ross County) is shown the yellow card.
Foul by Andrew Davies (Ross County).
Michael Moffat (Dunfermline Athletic) wins a free kick in the defensive half.
Substitution, Dunfermline Athletic. Rhys McCabe replaces Ben Richards-Everton because of an injury.
Substitution, Ross County. Rocco Quinn replaces Alex Schalk.
Delay in match Ben Richards-Everton (Dunfermline Athletic) because of an injury.
Foul by Stewart Murdoch (Ross County).
Andrew Geggan (Dunfermline Athletic) wins a free kick in the attacking half.
Marcus Fraser (Ross County) is shown the yellow card.
Goal! Ross County 1, Dunfermline Athletic 0. Raffaele De Vita (Ross County) right footed shot from the centre of the box to the top left corner. Assisted by Michael Gardyne.