You can get a prenuptial agreement (prenup), but which laws you are allowed to override varies by state, duration of the marriage, the whims of the divorce court, and how diligent you are about keeping assets separate during the marriage. You're probably better off spending your energy on avoiding marrying the wrong person...