Request Military Service Records | National Archives

It depends on the date the service member separated from the military. Military personnel records are open to the public 62 years after they leave the military.(To calculate this, take the current year and subtract 62.) Records of any veteran who separated from the military 62 (or more) years ago can be ordered by anyone for a copying fee (detailed below under “cost”).

https://www.archives.gov/veterans/military-service-records