In this paper we prove that the Hurwitz space $$\mathcal {H}_{9,8}$$ , which parameterizes 8-sheeted covers of $${\mathbb P }^1$$ by curves of genus 9, is unirational. Our construction leads to an explicit Macaulay2 code, which will randomly produce a nodal curve of degree 8 of geometric genus 9 with 12 double points and together with a pencil of degree 8.