The total cooking time depends on the size of the grated potato shreds and your personal preference for crispiness. Generally, using a cast iron pan takes about 10 minutes to cook one side and 8 minutes for the other side on medium heat, flipping only once.