There is no standardized period for such agreements, and it is completely up to the party that created the agreement. But generally, such contracts last for two-five years. The parties should also take into account that the document terminates if confidential information which is the object of the agreement becomes available to the public.