Maryland small businesses gripe that they can't get loans from banks. Lenders complain of a dearth of borrowers.

Is there any way to get these two together?

The state is going to try, under legislation expected to be signed into law today. Maryland will use a carrot — or, rather, up to $50 million in deposits — to encourage banks here to lend to small businesses.

Basically, participating banks that make loans to small businesses will receive an equal amount of deposits from the state. Borrowers will receive loans at 2 percentage points below the going rate. In exchange, the state will accept less interest from the banks on its deposits.

The program, which could be making loans by the end of the year, would seem like a win for all sides. Banks get a steady source of low-cost money to lend, businesses receive the low-rate loans they need to expand, and the state winds up with more residents working and a stronger economy.

But the question is whether many lenders will participate. If history is any guide, small businesses could be in for a big disappointment.

The program will be fashioned after another state-sponsored effort launched in 2009 to promote lending to minority businesses. Only three community banks participate in that program, which has generated 19 loans totaling $5.5 million — out of $50 million available. Hardly a raging success.

Clearly, small businesses need help securing capital at a time when banks remain cautious after the 2008 credit crisis.

An informal survey of more than 200 small-business owners in Maryland in the past year found that their No. 1 concern was access to credit, according to Maryland Business, which advocates for small enterprises.

"We still see folks struggling," says Jim Racheff, chair of the Maryland Business advisory board. "A number of businesses say they are still concerned about being able to have reliable, predictable access to credit."

Racheff, also CEO of DMS Inc. in Frederick, saw firsthand how big banks retreated during the credit crunch.

DMS, an information technology company that's been around since the early 1980s, had done business with Bank of America for nearly 20 years. But Racheff says once the credit crisis hit, Bank of America told him it was dropping DMS as a customer — along with many other small businesses.

"I had access to credit, and then I didn't," even though nothing had changed at the company, he says.

Racheff says he sold his house to quickly raise cash to keep the business running in the short term while he lined up another source of credit.

"When you talk to small businesses, one of their top issues is always access to capital," says Del. C. William Frick, a Montgomery County Democrat, who introduced the legislation.

In recent years, Frick has pushed for the state to deposit its money in Maryland community banks as a way to promote lending to small businesses.

Frick's original legislation steered state deposits into community banks with under $5 billion in assets — knocking out big players here such as Bank of America and M&T.

Massachusetts launched a similar program just over a year ago. More than $230 million of state money has been deposited in 44 participating community banks. And in the first six months, they made 892 loans to small businesses — although the state acknowledges that some of those loans might have been made without the program. Still, that's impressive.

But the Maryland Bankers Association balked at excluding big banks, Frick says, and a compromise was reached.