The Clean Energy Jobs Act also increases the eastern state's renewable portfolio standard (RPS) to 50%, and requires the state to evaluate steps to reach 100% clean energy by 2040.
The bill will now go to the Republican governor, Larry Hogan, for his signature.
Hogan could veto it, but two Democrat-led chambers of the legislature can override his veto because they were elected with a three-fifths majority in both chambers.
In 2016, Hogan vetoed a bill that would have increased Maryland's RPS from 20% to 25% by 2020, citing fears that it would lead to increased taxes.
Regardless, the offshore wind sector is off to a good start in Maryland.
State regulators approved financial support — in the form of offshore renewable energy credits (ORECs) — in 2017 for Ørsted's 120MW Skipjack and US Wind's 270MW MarWin projects, both planned for sites off the coast of Ocean City.