Question: how long do you have to be in spain before getting married?
Answer: Both civil and religious weddings are considered legal, but to qualify for a civil ceremony you must meet the two-year residency requirements. That means that at least one party of the couple must be a legal resident in Spain for two years prior to the wedding day.