Device for guiding a pair of sliding doors of a container, particularly of a closet, in which said doors (4, 4') are contained between a top and a bottom of the container, comprising: - a pair of guides (10, 12) to be applied to the lower surface of said top and to the upper surface of said bottom, each guide comprising a rail with a straight section and with two end sections (20, 20') inclined forwardly with respect to said straight section, and a two-way double exchange element, inserted in the center of said straight section and comprising a rectilinear branch, creating continuity with the straight section of the rail of said guide (10, 12), a pair of deviated branches (26, 26'), inclined forwardly in opposite sense with respect to said rectilinear branch, and a pair of needles (30,30') associated with elastic means to keep them independently in deviated position, and each provided with an appendix interfering with the respective deviated branch (26,26') when the needle (30,30') is in a deviated and non-interfering position with said deflected portion when the needle is in a non-deviated position, - a pair of first carriages (14, 14') applied near the ends of the upper edge of each door (4, 4') and each provided with an appendix (38, 38') engageable in the rail of said upper guide, - a pair of second carriages (16, 16') applied near the ends of the lower edge of each door (4, 4') and each provided with a support and guide element, and comprising an appendix (40, 40') integral with said support element and slidingly engageable in the rail of said lower guide and a wheel resting on said lower guide outside said rail of said lower guide, characterized in that each support and guide element is articulated around a substantially vertical axis to the respective carriage (16, 16'). - a pair of guides (10, 12) to be applied to the lower surface of said top and to the upper surface of said bottom, each guide comprising a rail with a straight section and with two end sections (20, 20') inclined forwardly with respect to said straight section, and a two-way double exchange element, inserted in the center of said straight section and comprising a rectilinear branch, creating continuity with the straight section of the rail of said guide (10, 12), a pair of deviated branches (26, 26'), inclined forwardly in opposite sense with respect to said rectilinear branch, and a pair of needles (30,30') associated with elastic means to keep them independently in deviated position, and each provided with an appendix interfering with the respective deviated branch (26,26') when the needle (30,30') is in a deviated and non-interfering position with said deflected portion when the needle is in a non-deviated position, - a pair of first carriages (14, 14') applied near the ends of the upper edge of each door (4, 4') and each provided with an appendix (38, 38') engageable in the rail of said upper guide, - a pair of second carriages (16, 16') applied near the ends of the lower edge of each door (4, 4') and each provided with a support and guide element, and comprising an appendix (40, 40') integral with said support element and slidingly engageable in the rail of said lower guide and a wheel resting on said lower guide outside said rail of said lower guide, characterized in that each support and guide element is articulated around a substantially vertical axis to the respective carriage (16, 16').