The Boer-Mulders transverse momentum-dependent parton distribution (TMD) characterizes polarized quark transverse momentum in an unpolarized hadron. Techniques previously developed for lattice calculations of nucleon TMDs are applied to the pion. These techniques are based on the evaluation of matrix elements of quark bilocal operators containing a staple-shaped Wilson connection. Results for the Boer-Mulders transverse momentum shift in the pion, obtained at a pion mass of $m_{pi} = 518, mbox{MeV} $, are presented and compared to corresponding results in the nucleon.