We present a first-principles study of model domain walls (DWs) in prototypic ferroelectric PbTiO3. At high temperature the DW structure is somewhat trivial, with atoms occupying highsymmetry positions. However, upon cooling the DW undergoes a symmetry-breaking transition characterized by a giant dielectric anomaly and the onset of a large and switchable polarization. Our results thus corroborate previous arguments for the occurrence of ferroic orders at structural DWs, providing a detailed atomistic picture of a temperature-driven DW-confined transformation. Beyond its relevance to the field of ferroelectrics, our results highlight the interest of these DWs in the broader areas of low-dimensional physics and phase transitions in strongly-fluctuating systems.PACS numbers: 77.80. 63.70.+h, 71.15.Mb The structural domain walls (DWs) occurring in ferroelectric (FE) and ferroelastic (FS) materials have become a focus of attention. Recent studies show that the DWs can present a variety of properties, from conductive [1][2][3][4] and optical [5,6] to magnetic [7][8][9], that differ from those of the neighboring domains, which suggests that they could be the active element in nano-technological applications [10,11]. Elucidating the DW behavior poses major experimental challenges, and the origin of most of the newly discovered effects remains unclear. In fact, we still lack a detailed structural and dynamical picture of the DWs, and in many cases we can only speculate about the structure-property relationships at work within them. Hence, there is a pressing need for predictive theoretical studies tackling the DWs at an atomistic level and at the relevant conditions of temperature, etc.The DW structure, and even the possible occurrence of DW-confined ferroic orders, have been discussed theoretically for decades, usually in the framework of continuum Ginzburg-Landau or phenomenological model theories [12][13][14][15][16][17][18][19][20][21][22]. Materials with competing structural instabilities have been a focus of attention, a good example being perovskite SrTiO 3 (STO). STO undergoes a FS transition driven by an anti-ferrodistortive (AFD) mode that involves concerted rotations of the O 6 octahedra in the perovskite structure. This mode competes with a FE instability that is suppressed by the onset of the AFD distortion [23]. Yet, there are both theoretical and experimental indications that a polar order occurs at low temperatures within STO's FS DWs [16,[24][25][26], i.e., in the region where the otherwise dominant AFD distortions vanish. In this context, it is worth noting recent first-principles studies predicting that PbTiO 3 (PTO)[27] and related compounds [28] present a FE-AFD competition that is even stronger than the one occurring in STO. These are the ideal conditions to obtain interesting effects at structural DWs, and motivated this work.Low-temperature study.-We employed the tools of Ref. 27, which permit large-scale simulations with firstprinciples predictive power, to investigate an ideal version of the...