Place the great northern beans in the crockpot along with the chopped carrot and celery.
Pour the water over the beans, then add salt, black pepper, and cayenne pepper. Stir to combine.
Nestle the ham hocks into the crockpot.
Cover and cook on low heat for 6–8 hours, or until the beans are tender and flavorful.
Carefully remove the ham hocks from the crockpot. Shred any meat from the bones and discard the bones.
Return the shredded ham to the crockpot and stir to combine.
Taste and adjust seasoning if needed, then serve hot.
Enjoy!