The invention discloses a preparation method of an atomized inhaling liquid used after cardiac surgery. The atomized inhaling liquid is used to intervene cough after cardiac surgery. The preparation method is characterized by comprising the following steps: (1) extracting volatile oil from pawpaw, prinsepia uniflora, cipadessa baccifera, dendrobium, cinnamomum camphora, solanum lyratum, and coarse powder of flax seed to obtain mixed volatile oil and dregs, and saving the mixed volatile oil and dregs for later use; (2) evenly mixing rubus wilsonii, pyrola calliantha, salix wallichiana, gorgon fruit, parmelia saxatilis and dregs obtained in the step (1), carrying out water extraction and alcohol precipitation, filtering to remove alcohol, performing ultrafiltration by using a microporous membrane, and condensing and drying the filtrate to obtain a primary material; (3) spraying the volatile oil obtained in the step (1) into the primary material obtained in the step (2), evenly mixing, grinding, sieving the powder by a 100-mesh sieve, and finally sterilizing the powder. The clinical experiment results show that the provided atomized inhaling liquid can well treat cough after cardiac surgery, is very safe, and thus is worthy to promote and use in clinic.