The article analyzes the provisions of the civil law regarding a loan agreement. The author focuses on the issues of legal regulation of relations that arise when parties withdraw from a consensual loan agreement. The author identifies inaccuracies made by the legislator that could lead to difficulties for courts in resolving such disputes. Addressing the stated topic, the author analyzes current civil laws, scientific literature, and judicial practice.