Yes, it is generally considered safe to masturbate during the first trimester of pregnancy. Masturbation is a normal and healthy sexual activity that can be enjoyed throughout pregnancy, as long as there are no complications or medical restrictions advised by your healthcare provider. It can provide stress relief, help with sleep, and promote overall well-being. However, it's important to listen to your body and stop if you experience any discomfort or pain. If you have any concerns or specific medical conditions, it's always best to consult with your healthcare provider for personalized advice.