The Senate approved the change 54-2 on Monday. The Illinois House passed it on Sunday.
Democratic Sen. Donne Trotter said the state must cut back on expensive programs like this, which gave free service even to wealthy people.
The freebie began when former Gov. Rod Blagojevich inserted into legislation before he was removed from office.
In the past, Quinn has favored keeping the free service. His office did not immediately comment Monday.