Can I get a refund for overpaid social security contributions?

If you overpaid into the public pension system, you may be eligible for a partial refund if you leave Germany permanently.

These questions might be interesting: