The strong coupling regime is essential for efficient transfer of excitations between states in different quantum systems on timescales shorter than their lifetimes. The coupling of single spins to microwave photons is very weak but can be enhanced by increasing the local density of states by reducing the magnetic mode volume of the cavity. In practice, it is difficult to achieve both small cavity mode volume and low cavity decay rate, so superconducting metals are often employed at cryogenic temperatures. For an ensembles of N spins, the spin–photon coupling can be enhanced by sqrt N through collective spin excitations known as Dicke states. For sufficiently large N the collective spin–photon coupling can exceed both the spin decoherence and cavity decay rates, making the strong-coupling regime accessible. Here we demonstrate strong coupling and cavity quantum electrodynamics in a solid-state system at room-temperature. We generate an inverted spin-ensemble with N ~ 1015 by photo-exciting pentacene molecules into spin-triplet states with spin dephasing time T_2^*sim 3 μs. When coupled to a 1.45 GHz TE01δ mode supported by a high Purcell factor strontium titanate dielectric cavity (V_{mathrm{m}}sim 0.25 cm3, Q ~ 8,500), we observe Rabi oscillations in the microwave emission from collective Dicke states and a 1.8 MHz normal-mode splitting of the resultant collective spin–photon polariton. We also observe a cavity protection effect at the onset of the strong-coupling regime which decreases the polariton decay rate as the collective coupling increases.