Jamie Duff headed the hosts into a 30th minute lead. The visitors' David Hopkirk equalised four minutes later.
Stuart Leslie crossed for Craig Gunn to restore Elgin's advantage in the 38th minute but Hopkirk struck again seconds after half-time.
Elgin City remain second in the Third Division, but would have gone top had they not been held to a 2-2 draw by Annan Athletic at Borough Briggs.
Jamie Duff headed the hosts into a 30th minute lead. The visitors' David Hopkirk equalised four minutes later.
Stuart Leslie crossed for Craig Gunn to restore Elgin's advantage in the 38th minute but Hopkirk struck again seconds after half-time.
We moderate all comments on HeraldScotland on either a pre-moderated or post-moderated basis. If you're a relatively new user then your comments will be reviewed before publication and if we know you well then your comments will be subject to moderation only if other users or the moderators believe you've broken the rules, which are available here.
Moderation is undertaken full-time 9am-6pm on weekdays, and on a part-time basis outwith those hours. Please be patient if your posts are not approved instantly.