Home / CPAP: Continuous Positive Airway Pressure / How to Use a CPAP Machine for Better Sleep

How to Use a CPAP Machine for Better Sleep

Eric Suni

Written by

Eric Suni, Staff Writer

Dr. Abhinav Singh

Medically Reviewed by

Dr. Abhinav Singh, Sleep Physician

Fact Checked Icon
Fact Checked

Our team of writers, editors, and medical experts rigorously evaluates each article to ensure the information is accurate and exclusively cites reputable sources. Learn More

Recency Statement Icon

We regularly assess how the content in this article aligns with current scientific literature and expert recommendations in order to provide the most up-to-date research.

We may earn a commission through products purchased using links on this page. Products or services advertised on this page may be offered by an entity that is affiliated with us. Learn more about our process here

Millions of Americans have been diagnosed with obstructive sleep apnea (OSA), a serious disorder of interrupted breathing during sleep. For people with OSA, repeated pauses in breath occur when the airway at the back of the throat becomes blocked during sleep.

The first-line treatment for OSA in adults is continuous positive airway pressure (CPAP) therapy. CPAP machines work by delivering pressurized air through a hose and mask into the airway during sleep. The steady flow of air keeps the airway open, improving respiration and sleep quality.

In order to experience the benefits of a CPAP machine, it is important to set it up properly. Knowing the right steps can ensure that the device is working correctly and help you feel comfortable using it while you sleep.


Step-by-Step Instructions for How to Setup and Use a CPAP Machine

If you have been given a prescription for a CPAP machine, it is normal to have questions about how to set it up and use it in the right way. The process is straightforward and follows a series of steps.

Find a Good Space to Put the CPAP Machine

The first step is deciding where you are going to put the CPAP machine. A good space for your device meets these characteristics:

  • Provides stable support to the base of the CPAP
  • Allows the hose to reach the head of the bed
  • Is close enough to an outlet so that you can easily plug in the machine
  • Permits unobstructed ability to turn on the device, open the filter compartment, and add water to the humidifier

For most people, the optimal spot is on a nightstand or small table next to their bed.

Check the Filter

The CPAP machine comes with a replaceable filter, but the exact type of filter depends on your device. There is usually a small compartment in which the filter fits snugly. Written instructions or instructions from your sleep technician should provide specific details about the filter in your CPAP machine.

Attach the Hose to the CPAP Machine

The machine has a special connector for the hose. The hose should attach and stay in place without needing considerable force or effort.

Attach the Hose to the Mask

The other end of the hose plugs into the CPAP mask and should create a tight connection, sometimes by clicking into place.

Set Up the Humidifier (When Applicable)

Many CPAP machines have an attached humidifier to moisturize the air so that it is less likely to dry out your mouth and throat over the course of the night.

If your CPAP has a humidifier, fill it with distilled water only. Using distilled water prevents mineral buildup or any impurity issues that can come from using tap water.

The humidifier reservoir should have a clear “MAX” fill line. Be careful not to exceed that level, which can cause water to enter the hose.

Plug In the CPAP Machine

Make sure that the power cord is properly attached to the CPAP device, and then plug the device into an electrical outlet.

Put On and Adjust the Mask

There are several types of masks that can be used with a CPAP. Full-face masks go over your nose and mouth. Other masks go over the nose or just underneath it. Your doctor or sleep specialist will recommend a mask based on several factors including how you breathe, the pressure you need, and your sleeping position.

Regardless of the type of mask you use, it will be held in place using one or more straps that go around the top and/or back of your head.

Start by positioning the mask on your face, and then attach or pull the straps to secure it. The mask should form a seal against your face, but it should not pinch or press deeply into your skin. Adjust the length of the straps to find a comfortable fit.

Turn On the Device

Once you have the mask in place, you can turn on your CPAP machine. The pressure settings will have already been set by your health care team.

When the machine is on, you will notice pressurized air coming through the mask. If you hear air escaping from the mask, it is a sign that you need to adjust it for a tighter seal. Some CPAP machines have a function to test whether the mask has a good seal.

When the device is turned on, you can decide whether to use the pressure ramp function. This starts with lower pressure that gradually increases before reaching your prescribed pressure for the night. Some people like to ease into their sleep with the ramp function while others prefer to have full pressure from the start.

Find a Comfortable Sleeping Position

Test out a few sleeping positions to find those that are comfortable for you. Your sleeping position should not interfere with your ability to wear the mask, or pinch or block the hose.

Tips for Getting Used to a CPAP Machine

Even with the best CPAP machine, many people find it difficult to get started. The mask may be uncomfortable, the sensation of the pressurized air can be unsettling, and on some machines, noise from the device can be bothersome.

It is normal for there to be an adjustment period before you are accustomed to using a CPAP machine and sleeping comfortably. Several tips can help you get used to your CPAP.

  • Allow a few nights to adjust: Do not be discouraged if you find the mask annoying or bothersome. You may even have a hard time sleeping at first, but you will get used to the CPAP machine faster by using it consistently. Over time, your sleep should improve.
  • Budget extra time for set-up: As you are getting started with the CPAP device, it is helpful to allot a bit of extra time before bed to fill the humidifier, get the mask on correctly, and position yourself comfortably.
  • Practice wearing the mask: To help get used to the mask, you can wear it without turning the machine on and practice breathing without any pressurized air coming through.
  • Use the CPAP anytime you sleep: Most people mostly think about using the CPAP machine at nighttime, but it is best to wear the CPAP for any daytime naps as well.
  • Consider using the ramp function: If you are having a hard time falling asleep because of the pressure, try using the pressure ramp function to have the airflow increase more gradually.
  • Utilize relaxation exercises: If you tend to get anxious or claustrophobic when wearing a CPAP mask, relaxation techniques may help put your mind at ease. Many of these steps for relaxation can also help you fall asleep more easily.
  • Wash your face before putting on the mask: Keeping your face clean can help create a good seal and reduce the potential for irritation during the night.

Another part of getting used to using a CPAP machine is communicating with your doctor or sleep technician. If your mask is not comfortable, there is often another option to try that has a different size, shape, or type of cushioning. Similarly, if the pressure does not seem right, your health care team can determine whether any adjustments are needed.

Other Tips for CPAP Users

When you first set up your CPAP machine, write down the brand, model, and serial number. Keep that information with the owner’s manual. In the same place, jot down the phone number for your sleep technician, the CPAP manufacturer, and, if applicable, the local service provider who delivered your machine. These steps will simplify the process if you have any technical problems in the future.

In order to keep your CPAP machine working effectively, you will want to keep your mask, hose, and humidifier clean. Establishing a routine for frequent cleaning allows you to avoid the buildup of dirt, bacteria, or other contaminants.

Another tip is to think in advance about using your CPAP when traveling and to plan out the logistics of bringing the device with you.

What About BiPAP or APAP Devices?

The setup and use of bilevel positive airway pressure (BiPAP) or auto-adjusting positive airway pressure (APAP) devices is virtually the same as with a CPAP device. While these machines provide variable levels of pressure, their basic design is similar, and you can follow the same steps to use them.

Possible Complications From a CPAP Machine

While a CPAP device dramatically improves sleep in most people with sleep apnea, there can be uncomfortable side effects. In most cases, these issues arise primarily in the first few nights, but some may persist over time. Common side effects include:

  • Dry mouth
  • Nosebleeds
  • Nasal congestion
  • Runny nose
  • Respiratory infections
  • Skin irritation from the mask or straps
  • Chest discomfort

If you experience these issues, contact your doctor or sleep technician. Changes in settings or other steps can usually resolve these side effects of CPAP therapy and make it easier for you to sleep well while using the device.

  • Was this article helpful?
  • YesNo

About Our Editorial Team

Eric Suni

Staff Writer

Eric Suni has over a decade of experience as a science writer and was previously an information specialist for the National Cancer Institute.

Dr. Abhinav Singh

Sleep Physician


Dr. Singh is the Medical Director of the Indiana Sleep Center. His research and clinical practice focuses on the entire myriad of sleep disorders.


+2  Sources

Learn more about CPAP