We report the X-ray detection of the low-mass K7V star WASP-43, which is orbited by a hot Jupiter in one of the closest exoplanet orbits known to date. The high mean density of the planet implies a massive core with ≈130 M⊕, yielding a heavy-element massfraction of 20%. From an 18 ks longXMM-Newton observation, we derive an X-ray luminosity of 6.7 +3.5 −3.3 × 10 27 ergs s −1 ,w hich puts WASP-43 among the active K-stars, which is compatible with its relatively young age derived in previous studies. The X-ray luminosity translates into a soft X-ray flux of (10.2 ± 5.4) × 10 3 erg cm −2 s −1 at the substellar point. According to our modeling, the combined X-ray and extreme ultraviolet flux may trigger mass-loss at a rate of up to ≈10 12 gs −1 via energy-limited atmospheric escape. We infer that it is unlikely that the planet has lost more than 2.5% of its current mass through that channel and that activityinduced mass-loss has not substantially altered its evolution.