Symmetry breaking phase transitions are often accompanied by the formation of topological defects, like in cosmological theories of the early universe, superfluids, liquid crystals or solid state systems. This scenario is described by the Kibble-Zurek mechanism, which predicts respective scaling laws for the defect density ρ. One such scaling law suggests a relation ~ Q -1/2 with Q the change of rate of a control parameter. In contrast to the scaling of the defect density during annihilation with ρ~t -1 , which is governed by the attraction of defects of the same strength but opposite sign, the defect formation process, which depends on the rate of change of a physical quantity initiating the transition, is only very scarcely investigated. We here use nematic liquid crystals as a different system to demonstrate the validity of the predicted scaling relation for defect formation. It is found that the scaling exponent is independent of temperature and material employed, thus universal, as predicted.Topological defects[1] are often generated following symmetry breaking phase transitions in many aspects of physics including cosmology, superfluids and liquid crystals. Kibble proposed a universal mechanism by which cosmological defects were formed in the early universe as it expanded and cooled shortly after the Big Bang[2.3]. During a cosmological symmetry breaking phase transition, uncorrelated domains with randomly determined order are produced which subsequently coalesce. Defects are formed that exist between two domains with non-compatible order. The initial density of defects is dependent on the rate at which domains grow which is limited by the finite speed of information transmission (causality). It became known as the "Kibble-Zurek mechanism" after Zurek suggested that