The invention discloses a preparation method of coconut-flavor ice cream. According to the preparation method, coconut oil, coconut shell ash, coconut milk, and desiccated coconut are taken as raw materials, white granulated sugar, skimmed milk powder, whole milk powder, single cream, condensed milk, demineralized whey powder, gold grade yellow cream, a stabilizing agent, fresh egg, 2,3-Dihydroxypropyl octadecanoate, a thickening agent, monosodium glutamate, ethyl maltol, chocolate, table salt, a composite essence, and an anti-oxidant are added. A unique technology is adopted to extract coconut oil from coconut meat, so that loss of effective components in coconut oil is reduced, and vitamin E, tocotrienols, and polyphenols in coconut oil can be protected from being destroyed. The particlesize of the coconut shell ash is maintained to be 8000 meshes, the coconut shell ash is mixed with ice cream completed, so that ice cream is dyed to be black, the black ice cream and black ice creamcone are combined to be an integrated body, the appearance is beautiful, hardness and smoothness are improved. The obtained coconut-flavor ice cream is thick in flavor, abundant in nutrients, and hardin mouthfeel.