Statute: Md. Code, Real Prop. § 9-105(a) · Md. Code, Real Prop. § 9-104(a)
Notice deadlines before the lien, and the lawsuit deadline after it, are on the Maryland page. Those dates depend on who hired you and the kind of property.
Maryland notice of intent to claim a lien: 120 days
This answer is the Maryland rule only. Lien deadlines are different in every state.
This is general information, not legal advice. Rules change. Check the current statute or ask a construction attorney in that state before you rely on a date. Job Clock does not file liens, mail notices, pull permits, or give legal advice.