Mackarness was a founder member of the Oxford University Association Football Club on 9 November 1871. Mackarness played for the university side during its early years, generally playing as a full back. Described as having "a brilliant kick, never misses his kick", he was "a back who knows but few superiors".
Oxford University did not enter the inaugural FA Cup tournament in which the first matches were played two days after the Oxford University AFC was founded. The following year, the club entered at the first round stage, defeating Crystal Palace 3–2 on 26 October 1872, and winning their next three matches to reach the semi-final, where they were drawn against the leading Scottish club, Queen's Park. Queen's, however, were unable to raise the funds to travel to London and withdrew from the competition, giving Oxford a bye into the final.
In the final, played at Lillie Bridge on 29 March 1873, the university met the defending champions, Wanderers who, under the original rules of the competition, were exempt from the earlier rounds. Mackarness played as the solitary full-back for the university, who dominated much of the match, but conceded a goal after 27 minutes, when the Wanderers captain Arthur Kinnaird outpaced the university's backs and kicked the ball between the goalposts. In a desperate attempt to secure an equalising goal, Oxford took the unusual step of dispensing with the use of a goalkeeper and moved Andrew Leach upfield to play as a forward. This plan back-fired at around the 80-minute mark, however, when Charles Wollaston broke through and scored a second goal for the Wanderers, who thereby retained the trophy.
In the following year, Oxford University again entered the tournament at the First-Round stage where they defeated Upton Park 4–0, going on to defeat Barnes, Wanderers and Clapham Rovers to reach the final, where they met the Royal Engineers. The final was played at Kennington Oval on 10 March 1874, in front of a crowd of 2,000. Mackarness again played as the university's sole full-back. Ten minutes into the match, Oxford gained a corner; as the corner was taken, a melee developed in front of the Engineers' goal, and the ball fell to Mackarness, who shot it over the crowd of players and past goalkeeper William Merriman. Ten minutes later, the university doubled their lead with a goal from Frederick Patton, after some skilful dribbling by captain Cuthbert Ottaway and Robert Vidal. Despite some late attacks on goal from the Sappers, Oxford hung on to win 2–0 and thus secured the cup for the first and only time.