ClearAttributes[symbol,attr]
removes attr from the list of attributes of the symbol symbol.
ClearAttributes["symbol",attr]
removes attr from the attributes of the symbol named "symbol" if it exists.
ClearAttributes[s,{attr1,attr2,…}]
removes several attributes at a time.
ClearAttributes[{s1,s2,…},attrs]
removes attributes from several symbols at a time.


ClearAttributes
ClearAttributes[symbol,attr]
removes attr from the list of attributes of the symbol symbol.
ClearAttributes["symbol",attr]
removes attr from the attributes of the symbol named "symbol" if it exists.
ClearAttributes[s,{attr1,attr2,…}]
removes several attributes at a time.
ClearAttributes[{s1,s2,…},attrs]
removes attributes from several symbols at a time.
Details

- ClearAttributes modifies Attributes[s].
- ClearAttributes has attribute HoldFirst.
- ClearAttributes does not affect symbols with the attribute Locked.
Examples
open all close allBasic Examples (1)
Scope (1)
Properties & Relations (3)
ClearAttributes is equivalent to this assignment to the attributes:
Unprotecting a symbol is equivalent to clearing the Protected attribute:
After setting the attribute Locked, no more changes to the attributes can be made:

See Also
Tech Notes
Related Guides
History
Introduced in 1988 (1.0)
Text
Wolfram Research (1988), ClearAttributes, Wolfram Language function, https://reference.wolfram.com/language/ref/ClearAttributes.html.
CMS
Wolfram Language. 1988. "ClearAttributes." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ClearAttributes.html.
APA
Wolfram Language. (1988). ClearAttributes. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ClearAttributes.html
BibTeX
@misc{reference.wolfram_2025_clearattributes, author="Wolfram Research", title="{ClearAttributes}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/ClearAttributes.html}", note=[Accessed: 08-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_clearattributes, organization={Wolfram Research}, title={ClearAttributes}, year={1988}, url={https://reference.wolfram.com/language/ref/ClearAttributes.html}, note=[Accessed: 08-August-2025]}