Elgin City repelled a late fight-back from Buckie to book a third-round Scottish Cup clash with Highland League side Deveronvale.
Adam Moffatt got the only goal of the game in the 38th minute when his 25-yard free-kick found the net.
Buckie's Donnie Munro came close to an equaliser just after the break with a left-foot shot that flew inches wide.
Substitute Mark Hamilton hit the post in injury-time as Buckie tried without success to take the tie to a replay.
Elgin: Renton, Kaczan (Campbell 24), Dempsie, Low, Dickson, Hind (Mackay 76), Moffatt, Docherty, Johnston, McGraw, Gardiner. Subs Not Used: Charlesworth, Muir, Brewin.
Booked: Moffatt, Dickson, Campbell, McGraw.
Goals: Moffatt 38.
Buckie Thistle: Main, Shewan , Lamberton, Small, Richard Davidson (Macdonald 65), Michael Grant, Andy Matheson, Munro, Bruce, Coutts (Mackinnon 65), Neil Davidson (Hamilton 82). Subs Not Used: Angus, Strong.
Booked: Neil Davidson, Andy Matheson, Main.
Ref: A Muir