The hilt or haft of a sword is its handle.
Some sword hilts are quite elaborate, and have a guard between the hilt and blade to protect the user's hands from damage.