The cook time for cooking dried pinto beans in the Instant Pot to make refried beans is forty-five minutes. However, do not forget to add on the preheat time of the Instant Pot and the release time after cooking, which will add forty-five minutes to the overall cook time.