The precession effect of periastron for a massive test particle in the spacetime of a Janis–Newman–Winicour wormhole is studied in the weak field limit. Based on the metric of this static and spherically symmetric wormhole in harmonic coordinates, we derive the second post-Newtonian dynamics of the particle. The second-order orbital precession of periastron is then obtained via a post-Newtonian iterative technique under the Wagoner–Will–Epstein–Haugan representation. Our result is found to be consistent with the classical precession effect when the asymptotic scalar charge is dropped.