Method for the management of the cleaning of a steam nozzle for a coffee machine able to successively prepare a first and a second hot beverage each comprising at least one coffee and a frothy milk, said method comprising the provision of a coffee machine including: a) a mobile steam nozzle having a free end ; b) a rinsing recipient filled at least partially with a rinsing liquid and having an upper opening able to receive the free end of said steam nozzle ; c) means of displacement configured to vertically displace said steam nozzle so that the free end penetrates through said upper opening into the rinsing recipient ; and d) means of preparation configured to prepare at least one coffee; said method, implemented by an electronic control unit of at least said means of displacement and said means of preparation, comprising: - a first step of frothing (S3) milk of the first beverage using said steam nozzle ; - a first rinsing sequence (S2, S5, S8) that has, following the first step of frothing (S3), a first step of soaking (S5) triggered electronically by said control unit and consisting in penetrating the free end of said steam nozzle into said rinsing recipient through said upper opening in order to plunge said steam nozzle into the rinsing liquid; and - a first step of preparing (S4) the coffee of the first beverage triggered electronically by said control unit, said first step of preparing (S4) said coffee being carried out in masked time with the first step of soaking (S5) of said steam nozzle . a) a mobile steam nozzle having a free end ; b) a rinsing recipient filled at least partially with a rinsing liquid and having an upper opening able to receive the free end of said steam nozzle ; c) means of displacement configured to vertically displace said steam nozzle so that the free end penetrates through said upper opening into the rinsing recipient ; and d) means of preparation configured to prepare at least one coffee; said method, implemented by an electronic control unit of at least said means of displacement and said means of preparation, comprising: - a first step of frothing (S3) milk of the first beverage using said steam nozzle ; - a first rinsing sequence (S2, S5, S8) that has, following the first step of frothing (S3), a first step of soaking (S5) triggered electronically by said control unit and consisting in penetrating the free end of said steam nozzle into said rinsing recipient through said upper opening in order to plunge said steam nozzle into the rinsing liquid; and - a first step of preparing (S4) the coffee of the first beverage triggered electronically by said control unit, said first step of preparing (S4) said coffee being carried out in masked time with the first step of soaking (S5) of said steam nozzle . - a first step of frothing (S3) milk of the first beverage using said steam nozzle ; - a first rinsing sequence (S2, S5, S8) that has, following the first step of frothing (S3), a first step of soaking (S5) triggered electronically by said control unit and consisting in penetrating the free end of said steam nozzle into said rinsing recipient through said upper opening in order to plunge said steam nozzle into the rinsing liquid; and - a first step of preparing (S4) the coffee of the first beverage triggered electronically by said control unit, <EOS>