SRD 5.2.1 · Actions
A hidden character makes an attack roll and misses. Do they remain hidden because the attack dealt no damage?
No; making the attack roll ends hidden status, whether it hits or misses.
The trigger is making an attack roll, not hitting or dealing damage. Remove the hidden-state benefit immediately after that triggering event as specified by the rule. A particular feature could change a situation, but the default Hide action does not wait for damage. Track the original Stealth total only while it is relevant to discovery.
A high Stealth result does not waive the action’s initial cover, obscurity and line-of-sight requirements. Check the position first, then roll if the requirements are met.
What conceals the character, who can see them, and which event would end hiding?
With the Hide action, you try to hide yourself. To do so, you must succeed on a DC 15 Dexterity (Stealth) check while you’re Heavily Obscured or behind Three-Quarters Cover or Total Cover, and you must be out of any enemy’s line of sight; if you can see a creature, you can discern whether it can see you. On a successful check, you have the Invisible condition while hidden. Make note of your check’s total, which is the DC for a creature to find you with a Wisdom (Perception) check. You stop being hidden immediately after any of the following occurs: you make a sound louder than a whisper, an enemy finds you, you make an attack roll, or you cast a spell with a Verbal component.
Source: SRD 5.2.1, 183. Online guide.
This work includes material from the System Reference Document 5.2.1 (“SRD 5.2.1”) by Wizards of the Coast LLC, available at dndbeyond.com/srd. The SRD 5.2.1 is licensed under the Creative Commons Attribution 4.0 International License, available at creativecommons.org/licenses/by/4.0/legalcode.
The explanation, example and table prompt are Table Ready adaptations; source text has been reflowed and tables reformatted. This guide and its printable card are available under the same CC BY 4.0 license. Independent reference; no official affiliation. These rules are optional for our system-neutral adventures.