Bail can be denied in certain cases. This typically happens if the defendant is considered a flight risk, poses a danger to the community, or is charged with a particularly serious crime. When bail is denied, the defendant must remain in custody until trial.