Abstract: We propose a singlet majoron model that defines an inverse seesaw mechanism in the sector. The majoron has a mass eV and a coupling to the lepton similar to the one to neutrinos. In the early universe it is initially in thermal equilibrium, then it decouples at GeV and contributes with just during BBN. At keV (final stages of BBN) a primordial magnetic field induces resonant oscillations that transfer 6% of the photon energy into majorons, implying and a 4.7% increase in the baryon to photon ratio. At the majoron enters in thermal contact with the heaviest neutrino and it finally decays into pairs near recombination, setting . The boost in the expansion rate at later times may relax the Hubble tension (we obtain km/s/Mpc), while the processes suppress the free streaming of these particles and make the model consistent with large scale structure observations. Its lifetime and the fact that it decays into neutrinos instead of photons lets this axion-like majoron avoid the strong bounds that affect other axion-like particles of similar mass and coupling to photons.