The Senate on Thursday approved the measure related to reciting the pledge that was passed last week by the House. That bill and the previously passed flag legislation go to Gov. Rick Snyder for his signature.
Many students already recite the pledge, but there is no required opportunity to do so. The bill specifies no student would be compelled to say it.
Some lawmakers have been concerned that cash-strapped schools can't afford the flags and the proposal thwarts local control.
The House Fiscal Agency said Michigan joins 43 states requiring public schools to offer a recitation of the pledge.