Short answer. Yes. A married woman may make a will without her husband's consent and without any authority from the court. Her power to make a will is entirely her own; marriage does not require her to obtain anyone's permission. What she can dispose of, however, is limited to the property that is hers to give.
What the law says
A married woman may make a will without the consent of her husband, and without the authority of the court.
Civil Code, Article 802 — A Married Woman May Make a Will. Read the full provision →
Her testamentary power is her own
Article 802 could not be plainer: a married woman may make a will without the consent of her husband, and without the authority of the court. Making a will is a personal right, and marriage does not place a wife under any disability in exercising it. She need not ask her husband to agree, tell him she has done it, or seek leave from a court. A will she executes on her own is as valid as one made by any person of sound mind and full age, and a husband's disapproval, or ignorance of it, does not affect its validity.
Why the article says this expressly
The provision reads as a deliberate statement of independence because, under older regimes, a married woman's legal capacity was often treated as subordinate to her husband's. Article 802 removes any doubt on this particular point: testamentary capacity is not among the things marriage subjects to a husband's control. It stands alongside the general rule that any person not expressly prohibited by law may make a will, confirming that being married is not one of those prohibitions. A wife's freedom to decide who inherits from her is her own to exercise while she lives and competent.
Capacity to make a will, not to give what is not hers
Freedom to make the will is not the same as freedom over the property. A wife can only dispose of what belongs to her: her exclusive or separate property, and her own share in whatever community or conjugal property she and her husband hold together. She cannot bequeath her husband's share, or give away the whole of an asset that is only half hers. A will that purports to hand over more than her portion is not thereby void, but it can bind only her interest; the husband's share is untouched by it and remains his to dispose of.
Where the property line is drawn
So the sensible step before making or relying on such a will is to be clear about the property regime of the marriage, since that determines which assets are the wife's separate property, which are common, and how large her share in the common property is. Those questions turn on how the spouses' property is characterised, and they decide the reach of the will far more than any question of consent. The right to make the will is settled; the extent of what it can effectively give is the part worth checking with a lawyer.