Gather all ingredients.
Cook beans for 24 minutes at high pressure in pressure cooker. Natural release.
Drain soaking liquid from beans; place them back in the pressure cooker.
Stir bacon, onion, ketchup, water, brown sugar, molasses, mustard, and salt into beans until well mixed.
Cook at high pressure for 12 minutes with a natural release.
