A method for detecting an occlusion in an infusion line (3) connected to an infusion device (1) comprises: measuring a force (F) applied to a piston (21) by a pusher device (12) of an infusion device (1) for moving the piston (21) along a movement direction (X) into a cylindrical tube (20) in order to deliver a medical fluid from the cylindrical tube (21) towards an infusion line (3) connected to the cylindrical tube (20); calculating, from the measured force (F), a value indicative of a pressure (P) in the cylindrical tube (20), wherein for calculating said value indicative of said pressure (P) a frictional force value (F0) indicative of a friction of the piston (21) relative to the cylindrical tube (20) is taken into account; and comparing said value indicative of said pressure (P) to a threshold value to determine whether an occlusion is present in the infusion line (3). Herein, the frictional force value (F0) is determined using a mathematical model modelling the friction of the piston (21) relative to the cylindrical tube (20) in dependence on the position of the piston (21) relative to the cylindrical tube (20) along the movement direction (X) and in dependence on the velocity by which the piston (21) is moved relative to the cylindrical tube (3). In this way a method for reliably detecting an occlusion in an infusion line during an infusion process is provided.L'invention concerne un procédé de détection d'une obstruction dans une ligne de perfusion (3), reliée à un dispositif de perfusion (1), qui comprend les étapes consistant à mesurer une force (F) appliquée sur un piston (21) par un dispositif poussoir (12) d'un dispositif de perfusion (1) pour déplacer le piston (21) dans une direction de déplacement (X) à l'intérieur d'un tube cylindrique (20) afin d'injecter un fluide médical depuis le tube cylindrique (21) et en direction d'une ligne de perfusion (3) reliée au tube cylindrique (20) ; à calculer, à partir de la force mesurée (F), une valeur correspond