A method of enrolling a fingerprint of a user's finger, by means of an electronic device comprising a fingerprint sensor having an active area, the method comprising the steps of: - acquiring, from the fingerprint sensor, for each finger placement in a sequence of finger placements on the fingerprint sensor during an enrollment process, a fingerprint image of a portion of the fingerprint; - determining, based on the fingerprint images acquired for the finger placements in the sequence of finger placements, a total template coverage area for the user's finger being enrolled; - determining, for each finger placement in said sequence of finger placements on said fingerprint sensor, a change in the total template coverage area evolving for each finger placement in the sequence of finger placements; - estimating, for each finger placement in said sequence of finger placements on said fingerprint sensor, a center point for the finger in the fingerprint image acquired for the finger placement; - determining, based on the fingerprint images acquired for the finger placements in the sequence of finger placements, an indication of an overall finger displacement activity by the user within the active area of the fingerprint sensor by estimating a distance between the center points for two consecutively acquired fingerprint images in said sequence of finger placements; - completing the enrollment process by forming a fingerprint template based on said acquired fingerprint images, wherein the enrollment process and the acquisition of further fingerprint images is determined to be completed if: - the overall finger displacement activity is above a first threshold, and - the change in the total coverage area is determined to be below a second threshold, and - saving the fingerprint template together with an identifier for the fingerprint to thereby enroll the fingerprint of the user's finger for use in a subsequent authentication process. - acquiring, from the fingerprint sensor, for each finger placement in a sequence of finger placements on the fingerprint sensor during an enrollment process, a fingerprint image of a portion of the fingerprint; - determining, based on the fingerprint images acquired for the finger placements in the sequence of finger placements, a total template coverage area for the user's finger being enrolled; - determining, for each finger placement in said sequence of finger placements on said fingerprint sensor, a change in the total template coverage area evolving for each finger placement in the sequence of finger placements; - estimating, for each finger placement in said sequence of finger placements on said fingerprint sensor, a center point for the finger in the fingerprint image acquired for the finger placement; - determining, based on the fingerprint images acquired for the finger placements in the sequence of finger placements, an indication of an overall finger displacement activity by the user within the active area of the fingerprint sensor by estimating a distance between the center points for two consecutively acquired fingerprint images in said sequence of finger placements; - completing the enrollment process by forming a fingerprint template based on said acquired fingerprint images, wherein the enrollment process and the acquisition of further fingerprint images is determined to be completed if: - the overall finger displacement activity is above a first threshold, and - the change in the total coverage area is determined to be below a second threshold, and - the overall finger displacement activity is above a first threshold, and - the change in the total coverage area is determined to be below a second threshold, and - saving the fingerprint template together with an identifier for the fingerprint to thereby enroll the fingerprint of the user's finger for use in a subsequent authentication process.