Electronic layer decoupling driven by density-wave order in La
4Ni
3O
10Polarization-resolved infrared spectroscopy of the trilayer nickelate La$_4$Ni$_3$O$_{10}$ reveals a density-wave transition that dramatically enhances the electronic anisotropy. In-plane conductivity remains metallic, but out-of-plane conductivity is sharply suppressed by over an order of magnitude. This is interpreted as effective electronic decoupling of the Ni-O layers, driven by a spin-density-wave-induced redistribution of Ni-$d_{z^2}$ orbital occupation within the trilayers. Accompanying shifts and splittings of out-of-plane phonons are consistent with an electronically driven density-wave instability.