An implantable medical device (10 20 30) and a method are disclosed for treating cardiac tissue of a heart (16) of a patient with therapeutic light. A myocardial infarction is detected and a location the myocardial infarction is identified. A therapy session is initiated by selectively activate one or more of a plurality of light emitting means (31, 32a, 32b 54, 57a, 57b, 57c, 57d) arranged in at least one medical lead (12, 14 22a, 22b 50) connectable to the implantable medical device (10 2030) to emit therapeutic light towards a detected location of a myocardial infarction at detection of an occurrence of a myocardial infarction.Linvention concerne un dispositif médical implantable (10 20 30), et un procédé pour traiter un tissu cardiaque du coeur (16) dun patient à laide dune lumière thérapeutique. Un infarctus du myocarde est détecté et un emplacement de linfarctus du myocarde est identifié. Une session thérapeutique est initiée en activant de manière sélective un ou plusieurs moyens dune pluralité de moyens électroluminescents (31, 32a, 32b 54, 57a, 57b, 57c, 57d) agencés dans au moins un raccord médical (12, 14 22a, 22b 50) raccordable au dispositif médical implantable (10 20 30) pour émettre de la lumière thérapeutique vers un emplacement détecté dun infarctus du myocarde lors de la détection de lapparition dun infarctus du myocarde.