If you are an EU citizen the formalities will be quite simple. Essentially, you will need to register with the EU community registry here in Spain so that the Spanish authorities know that you are staying in Spain.
If you are a foreigner coming from a country outside of the EU and want to live here without working, you will need to request a residence permit. In order to do so, you will need to show that you have the means to support yourself and your family for the extend of your stay in Spain.
If you are coming to Spain to work, you will need to obtain both a work and residence permit. The company that hires you is responsible for sponsoring your work visa.
All these formalities are long processes that can spread over many months. So it´s very important that you receive specialized professional legal advice for expatriates to become familiar with what you need to do and the amount of time you will need to do so. The legal advice we offer is essential in planning your future stay in Madrid.
Another important task that should be completed before deciding to move is to get an accurate assessment of what your real costs will be of both your move and stay in Madrid. Mad. Relocation can make an estimate of these costs.