Atlanta police said the boy is a student at Brown Middle School.
Atlanta Public Schools spokesman Steven Alford said the unloaded BB gun was found about a block from the school.
Alford said the boy was not arrested but the school board would take action.
Teacher apologizes for showing sexual image of herself in class
Dennis Rodman pledges to end trips to North Korea