The cosmetic use of at least one n-alkyl amide as an antiperspirant. N-alkyl amides are selected in particular from among the following molecules: spilanthol, trans-pellitorine, cis-pellitorine, 2Z,4Z- or 2Z,4E-decadienoic acid-N-isobutylamide, 2E,4E-decadienoic acid-N-([2S]-2-methylbutyl)amide, 2E,4E-decadienoic acid-N-([2R]-2-methylbutylamide), 2E,4Z-decadienoic acid-N-(2-methylbutyl)amide, rachilleamide, sarmentine, 2E- or 3E-decenoic acid-N-isobutylamide, 3E-nonenoic acid-N-isobutylamide, homospilanthol, 2E,6Z,8E-decatrienoic acid-N-([2R]-2-methylbutyl)amide, 2E- or 2Z-decen-4-oic acid-N-isobutylamide, sanshools including in particular hydroxy sanshool, α-sanshool, hydroxy-α sanshool, hydroxy-β sanshool, δ-sanshool, hydroxy-γ sanshool, hydroxy-γ isosanshool, dehydro-γ sanshool, γ-sanshool, bungeanool, isobungeanool, dihydrobungeanool, or tetrahydrobungeanool, or the combinations thereof.