Gravitational collapse is the inward fall of an astronomical object due to the influence of its own gravity which tends to draw the object toward its center of mass. In any stable body, this gravitational force is counterbalanced by the internal pressure of the body acting in the opposite direction. If the gravitational force is stronger than the forces acting outward, the equilibrium becomes unstable and a collapse occurs until the internal pressure increases sufficiently that equilibrium is once again attained (the exception being a black hole).
Because gravity is weak compared to other fundamental forces, gravitational collapse is usually associated with very massive bodies or collections of bodies, such as stars (including collapsed stars such as supernovae, neutron stars and black holes) and massive collections of stars such as globular clusters and galaxies.
Gravitational collapse is at the heart of structure formation in the universe. An initial smooth distribution of matter will eventually collapse and cause a hierarchy of structures, such as clusters of galaxies, stellar groups, stars and planets. For example, a star is born through the gradual gravitational collapse of a cloud of interstellar matter. The compression caused by the collapse raises the temperature until nuclear fuel ignites in the center of the star and the collapse comes to a halt. The thermal pressure gradient (acting outward) balances the gravity (acting inward) and the star is in dynamic equilibrium between the two forces.
Gravitational collapse of a star occurs at the end of its lifetime, also called the death of the star. When all stellar energy sources are exhausted, the star will undergo a gravitational collapse. In this sense a star is in a "temporary" equilibrium state between a gravitational collapse at stellar birth and a further gravitational collapse at stellar death. The end state is called a compact star or stellar remnants.
The types of compact stars are:
- White dwarfs, in which gravity is opposed by electron degeneracy pressure;
- Neutron stars, in which gravity is opposed by neutron degeneracy pressure and short-range repulsive neutron–neutron interactions mediated by the strong force;
- Black holes, in which the physics at the center is unknown.
The collapse to a white dwarf takes place over tens of thousands of years, while the star blows off its outer envelope to form a planetary nebula. If it has a companion star, a white dwarf-sized object can accrete matter from a companion star until it reaches the Chandrasekhar limit, at which point gravitational collapse takes over again. While it might seem that the white dwarf might collapse to the next stage (neutron star), they instead undergo runaway carbon fusion, blowing completely apart in a Type Ia supernova. Neutron stars are formed by gravitational collapse of larger stars, the remnant of other types of supernova.
Even more gigantic stars, above the Tolman–Oppenheimer–Volkoff limit cannot find a new dynamical equilibrium with any known force opposing gravity. Hence, the collapse continues with nothing to stop it. Once it collapses to within its Schwarzschild radius, not even light can escape from the star, therefore it becomes a black hole. According to theories, at some point later, the collapsing object will reach the maximum possible energy density for a certain volume of space or the Planck density (as there is nothing that can stop it). This is when the known laws of gravity cease to be valid. There are competing theories as to what occurs at this point, but it can no longer really be considered gravitational collapse at that stage. 
It might be thought that a sufficiently large neutron star could exist inside its Schwarzschild radius and appear like a black hole without having all the mass compressed to a singularity at the center; however, this is a misconception. Within the event horizon, matter would have to move outward faster than the speed of light in order to remain stable and avoid collapsing to the center. No physical force therefore can prevent the star from collapsing to a singularity (at least within the currently understood framework of general relativity; this doesn’t hold for the Einstein–Yang–Mills–Dirac system). A model for nonspherical collapse in general relativity with emission of matter and gravitational waves has been presented.
- Dieter Brill, “Black Hole Horizons and How They Begin”, Astronomical Review (2012); Online Article, cited Sept.2012.
- Bedran, ML et al.(1996)."Model for nonspherical collapse and formation of black holes by emission of neutrinos, strings and gravitational waves", Phys. Rev. D 54(6),3826.