Federal law requires schools to release the names, addresses, and numbers of all high school students to military recruiters. See Section 8025 of the Every Student Succeeds Act, (ESSA).
Your state may also provide additional information to recruiters. Start here to research your state's laws.
Parents have the right to “opt-out” in writing from having their child’s information sent to military recruiters.
Schools must notify parents they have the right to opt out.
The law is weak. A single notice provided through a mailing, student handbook, or method is sufficient. Consequently, most parents aren't aware there’s an easy way to opt-out of having their child’s info sent to recruiters.
Most schools do a lousy job informing parents of the right to opt out. Many school systems have a single “opt-out” form that is online or part of a student handbook.
Maryland is the only state to have a law that requires all parents to complete the opt-out form. See the Maryland law here: Ch 105 Education 7-111(C)