The cost to file for divorce in Maryland varies by county but typically ranges from $165 to $250. Additional expenses may include attorney fees, mediation, and court costs. Factors like contested issues and alimony can increase costs. Consulting a lawyer ensures clarity on fees and legal requirements for your case.