Heavy flavours are sensitive probes of the hot and dense quark-gluon plasma formed in high-energy nucleus-nucleus collisions. Measurements of their production in p--Pb collisions are crucial for the interpretation of heavy-ion results, because they allow to investigate the cold nuclear matter effects.
In addition, the study of heavy-flavour pT modification in high-multiplicity p--Pb collisions could give insight into the possible presence of collective effects.
The measurements of open heavy-flavour production performed with ALICE at the LHC in p--Pb collisions at
√sNN= 5.02 TeV are presented. Emphasis is given to
the recent measurements of D0 production in high multiplicity p--Pb collisions and to the first measurement of Λc production at central rapidity
