The present invention relates to a method and a system for managing the storage of objects, especially of laboratory sample containers such as test tubes. It comprises a receiving support for objects with barcodes (13); a reading base (25) with optical means (21); a receiving tray (26) with a guide rail (22) which enables the movement (23) of the support, resulting in an ordered succession of readings, by the optical means (21), of the barcodes arranged in the support and the object located in said support; and a control module for receiving the readings from the optical means, determining a relative position of the object and storing it in a database together with identification information of the object, wherein the stored objects may then be retrieved by means of a lighting system associated with the relative position of the object in the system.