No, not all hammer drills are cordless. Some models require an electrical outlet to operate while others use rechargeable batteries for portability.