Classical novae are runaway thermonuclear burning events on the surfaces of accreting white dwarfs in close binary star systems, sometimes appearing as new naked-eye sources in the night sky 1 . The standard model of novae predicts that their optical luminosity derives from energy released near the hot white dwarf which is reprocessed through the ejected material [2][3][4][5] . Recent studies with the Fermi Large Area Telescope have shown that many classical novae are accompanied by gigaelectronvolt γ-ray emission 6, 7 . This emission likely originates from strong shocks, providing new insights into the properties of nova outflows and allowing them to be used as laboratories to study the unknown efficiency of particle acceleration in shocks. Here we report γ-ray and optical observations of the Milky Way nova ASASSN-16ma, which is among the brightest novae ever detected in γ-rays. The γ-ray and optical light curves show a remarkable correlation, implying that the majority of the optical light comes from reprocessed emission from shocks rather than the white dwarf 8 . The ratio of γ-ray to optical flux in ASASSN-16ma directly constrains the acceleration efficiency of non-thermal particles to be ∼ 0.005, favouring hadronic models for the γ-ray emission 9 .The need to accelerate particles up to energies exceeding 100 gigaelectronvolts provides compelling evidence for magnetic field amplification in the shocks.ASASSN-16ma (a.k.a. PNV J18205200−2822100, Nova Sgr 2016d, and V5856 Sgr) is an optical transient source in the constellation Sagittarius, discovered by the All Sky Automated Survey for SuperNovae (ASAS-SN 10 ), on 25.02 October 2016 UT 11 (a corresponding Modified Julian Day of MJD 57686.02) and identified as a normal classical nova with optical spectroscopy 12, 13 .The optical light curve of the nova after its discovery shows three distinct phases (Figure 1). In Phase I, the nova slowly rose to m V ∼ 8 mag over two weeks. It then showed a rapid brightening by a factor of ∼ 10 over just two days (Phase II), reaching a naked-eye peak visual magnitude of 5.4 (MJD 57700). This was followed by a relatively stable decline lasting for several weeks (Phase III; see Figure 1 and Methods).Immediately following the optical peak, our Fermi target-of-opportunity (ToO) observation detected strong γ-ray emission from the nova with a very high photon flux of F ph,γ ≈ 2 10 −6 ph cm −2 s −1 (Methods). The γ-ray emission faded rapidly over the next nine days, with only marginal γ-ray detections in the following week. This is among the fastest-evolving γ-ray light curves seen to date from a nova. The optical and γ-ray light curves are tightly correlated, declining at the same rate and showing a simultaneous dip in the emission around MJD 57705 (Figure 1). The ratio of the γ-ray to optical luminosity (∼ 0.002) remains constant while the γ-rays are detectable (Figure 1; see also Supplementary Information, SI hereafter).The clear correlation between the γ-ray and optical light in ASASSN-16ma leads us to reconsider the standard mod...