A defense asserting that even if all the factual allegations in a complaint are true, they are insufficient to establish a valid cause of action. The precise basis for a demurrer can vary, with some examples being a failure to state a claim or an allegedly unconstitutional statute.
In most jurisdictions, the demurrer is now called a motion to dismiss.