The present invention relates to a liquid-crystalline medium based on a mixture of compounds of negative dielectric anisotropy comprising one or more polymerizable compounds, and to the use thereof for electro-optical purposes, and to displays containing this medium.