Not necessarily, but your risk does go up.
The fact that you had diabetes when you were pregnant means your pancreas has trouble keeping up with your insulin needs. About half of all women who have gestational diabetes will eventually develop type 2 diabetes. But there are things you can do to cut that risk. Studies show that if you change your lifestyle by eating more carefully, increasing your activity level, and losing weight, your risk of developing type 2 diabetes goes way down.
Changing your lifestyle is hard, but these changes are the same ones you should make if you get diabetes. Making those changes now could protect you from ever developing diabetes. Talk with your health care provider to learn more about your risk of getting diabetes and how to avoid it.