Theories of physics beyond the Standard Model predict the existence of relativistic strings, either as composite objects, or as fundamental constituents of matter. In a class of well-motivated models of the early Universe, inflation ends by producing cosmic strings, which will still be present at a low density today. This talk reviews the status of cosmic strings in inflationary cosmology, and describes the latest constraints from the Cosmic Microwave Background data.