The Huawei P40 supports eSIM on compatible regional and carrier variants, which makes it useful for travelers who want mobile data without swapping a physical SIM. This guide assumes an unlocked Huawei P40 running EMUI 12 in English, with the eSIM menu available under Settings > Mobile network > SIM management.
An iRoamly travel eSIM can be installed before departure over Wi-Fi, then selected for mobile data when you reach the covered destination. Install it 1-2 days before travel if possible, but wait to activate or use the data plan until you are at or near the destination so you do not consume validity early.
This guide covers both installation methods: scanning the iRoamly QR code and entering the activation details manually. Menu names can vary slightly by EMUI version, region, and carrier firmware, so first confirm that your Huawei P40 shows an eSIM or Add eSIM option in SIM management.
Before You Set Up Your iRoamly eSIM
Connect the Huawei P40 to stable Wi-Fi before downloading the eSIM profile.
Confirm the phone is unlocked and that your Huawei P40 variant supports eSIM in your region.
Keep your iRoamly QR code open on another device or printed, because the Huawei P40 camera needs to scan it.
Keep the manual activation details ready in case scanning does not work. You may need the SM-DP+ Address, Activation Code, and optional Confirmation Code, depending on the iRoamly details provided.
Do not delete the iRoamly eSIM after installation unless iRoamly support tells you to. Many travel eSIM profiles cannot simply be reinstalled after removal.
Check your specific iRoamly plan details before travel. Validity starts from activation, and iRoamly recommends waiting to activate the data plan until you are at or near the covered destination.
iRoamly travel eSIM plans may be data-only. Voice calls and SMS availability varies by plan, so do not assume calls or texts are included.
Method 1: Install eSIM by Scanning a QR Code
Open Settings on the Huawei P40, then tap Mobile network.

Tap SIM management to open the page where physical SIMs and eSIM profiles are managed.

In SIM management, tap eSIM or Add eSIM. If this option is missing, your phone software, region, or carrier variant may not support eSIM.

Choose Scan QR code when the eSIM setup screen appears.

Point the Huawei P40 camera at the iRoamly QR code. Keep the code inside the frame until the phone reads it.

Review the detected iRoamly eSIM profile, then tap Add or Download to save it to the phone.

Wait until the download finishes, then tap Done when EMUI confirms that the eSIM has been added.

Method 2: Install eSIM Manually
Open Settings on the Huawei P40, then tap Mobile network.

Tap SIM management to reach the SIM and eSIM controls.

Tap eSIM or Add eSIM to start adding a new eSIM profile.

On the setup screen, tap Enter manually or Enter details manually instead of scanning the QR code.

Enter the SM-DP+ Address and Activation Code from your iRoamly eSIM details. If iRoamly provides a Confirmation Code, enter it in the optional field; otherwise leave that field blank.

Tap Connect, Add, or Download after checking the details. Stay on Wi-Fi while the Huawei P40 downloads the iRoamly eSIM profile.

Tap Done after EMUI confirms that the iRoamly eSIM has been added.

How to Confirm Your iRoamly eSIM Is Installed
Go to Settings > Mobile network > SIM management and look for the new eSIM profile. It may appear as eSIM, Secondary SIM, or a plan label you can rename to iRoamly.

Tap the eSIM profile and confirm that it is enabled. If the page lets you rename the profile, name it iRoamly so it is easier to choose for travel data.

Check the status bar after you arrive in the covered destination. When the iRoamly eSIM connects, you should see a mobile signal for that line. Test SMS or calls only if your specific iRoamly plan says those services are included.

Configure eSIM for Mobile Data
Open Settings > Mobile network > SIM management, then turn on the iRoamly eSIM if it is off.

Tap Default mobile data or Mobile data, then select the iRoamly eSIM as the data line for travel.

Return to Mobile network, tap Mobile data, and turn on Data roaming for the iRoamly eSIM if your destination plan requires roaming.

Turn off Wi-Fi briefly and open a web page or map app to confirm the iRoamly mobile data connection works. Turn Wi-Fi back on afterward if you are still before your trip.

Troubleshooting
If Add eSIM is missing, confirm that your Huawei P40 is not a region or carrier variant without eSIM support. Also install available EMUI updates and restart the phone.
If the QR code does not scan, increase screen brightness on the device showing the code, clean the camera lens, and keep the QR code flat inside the scanner frame.
If the QR code says it was already used, do not delete the profile. Contact iRoamly support with your order details because many eSIM QR codes can be installed only once.
If manual activation fails, check every character in the SM-DP+ Address and Activation Code. Do not add spaces unless the iRoamly details include them.
If the eSIM installs but has no signal, wait until you are in the covered destination, then restart the Huawei P40 and check that the iRoamly eSIM is enabled.
If mobile data does not work, select the iRoamly eSIM for Default mobile data, enable Data roaming when required, turn off Wi-Fi, and test again.
If calls or SMS do not work, check your iRoamly plan details. Many travel eSIMs are for mobile data and do not include regular voice or text service.
Conclusion
Your iRoamly eSIM is now ready to support your travels with convenient mobile data in supported destinations. Once your plan is active, you can stay connected for everything from finding directions and communicating with family to accessing travel services and sharing your experiences online.
By preparing your eSIM before departure, you can avoid unnecessary delays after arrival and enjoy a smoother travel experience from the start. Wherever your journey takes you, your Huawei P40 and iRoamly travel eSIM make it easier to stay online without changing your physical SIM card.