Machine for sealing plastic profiled elements, comprising: - at least a base frame ; - retention means of at least a profiled element (P) of plastic material having a first main face , a second main face , a first lateral face , a second lateral face and respective areas to seal (Z), said retention means being associated with said base frame and comprising at least a first support element movable along a first direction of sliding (A) and at least a second support element mounted on said first support element and movable relative thereto along a second direction of sliding (B) substantially transverse to said first direction of sliding (A), said main faces being adapted to come into contact with said support elements respectively; - at least a heat-sealing element with heated plate , mounted on said base frame and having two mutually opposite surfaces on which said areas to seal (Z) to be heated are placeable in contact; - sliding means of said retention means , which are placed between said base frame and said retention means and are adapted to shift said profiled elements (P) between a position of reciprocal moving away and a position of mutual approach wherein said heated areas to seal (Z) are joined together; - positioning means associated with said support elements and adapted to receive and support at least a portion of at least one of said lateral faces ; characterized by the fact that it comprises: - locking means movably associated with said retention means and adapted to keep said profiled elements (P) in a locking configuration wherein at least one of said main faces is kept into contact with at least one of said support elements and at least one of said lateral faces is arranged into contact with said positioning means , in said locking configuration said locking means being adapted to prevent said profiled elements (P) from rotating around the longitudinal axis of the profiled elements themselves. - at least a base frame ; - retention means of at least a profiled element (P) of plastic material having a first main face , a second main face , a first lateral face , a second lateral face and respective areas to seal (Z), said retention means being associated with said base frame and comprising at least a first support element movable along a first direction of sliding (A) and at least a second support element mounted on said first support element and movable relative thereto along a second direction of sliding (B) substantially transverse to said first direction of sliding (A), said main faces being adapted to come into contact with said support elements respectively; - at least a heat-sealing element with heated plate , mounted on said base frame and having two mutually opposite surfaces on which said areas to seal (Z) to be heated are placeable in contact; - sliding means of said retention means , which are placed between said base frame and said retention means and are adapted to shift said profiled elements (P) between a position of reciprocal moving away and a position of mutual approach wherein said heated areas to seal (Z) are joined together; - positioning means associated with said support elements and adapted to receive and support at least a portion of at least one of said lateral faces ; characterized by the fact that it comprises: - locking means movably associated with said retention means and adapted to keep said profiled elements (P) in a locking configuration wherein at least one of said main faces is kept into contact with at least one of said support elements and at least one of said lateral faces is arranged into contact with said positioning means , in said locking configuration said locking means being adapted to prevent said profiled elements (P) from rotating around the longitudinal axis of the profiled elements themselves. <EOS>