Stellar-like objects with effective temperatures of 2700K and below are referred to as 20 "ultracool dwarfs"1. This heterogeneous group includes both extremely low-mass stars 21 and brown dwarfs (substellar objects not massive enough to sustain hydrogen fusion), 22 and represents about 15% of the stellar-like objects in the vicinity of the Sun2. Based on 23 the small masses and sizes of their protoplanetary disks3,4, core-accretion theory for 24 ultracool dwarfs predicts a large, but heretofore undetected, population of close-in 25 terrestrial planets5, ranging from metal-rich Mercury-sized planets6 to more hospitable 26 volatile-rich Earth-sized planets7. Here we report the discovery of three short-period 27 Earth-sized planets transiting an ultracool dwarf star 12 parsecs away. The inner two 28 planets receive four and two times the irradiation of Earth, respectively, placing them 29 close to the inner edge of the habitable zone of the star8. Eleven orbits remain possible 30 for the third planet based on our data, the most likely resulting in an irradiation 31 significantly smaller than Earth's. The infrared brightness of the host star combined 32 with its Jupiter-like size offer the possibility of constraining the composition and 33 thoroughly characterizing the atmospheric properties of the components of this nearby 34 planetary system, notably to detect potential biosignatures.