Holding two nationalities is an advantage at borders, provided you use each passport in the right place. Used carelessly it produces confusing questions at check-in and occasionally a refused boarding.
The general principle
Enter and leave a country on that country's passport where you hold one. Use whichever passport gives you the easiest entry everywhere else.
So a British and Australian dual national typically leaves the UK on the British passport, enters Australia on the Australian one, and uses whichever is more convenient for a third country in between.
Some countries require it
A number of countries expect their own citizens to enter and exit on their passport, and treat arriving on a foreign one as a problem rather than a choice. This is not always signposted and the consequences range from questioning to a fine.
If you hold the nationality of the country you are visiting, check its rules specifically before deciding. This is the single most important point, and it overrides convenience.
Airlines check differently from borders
The airline is checking whether you will be admitted at the destination, because they carry the cost if you are not. Their systems may not handle a second nationality gracefully, particularly when the booking was made in one name and you present a passport in another.
Book in the name that matches the passport you will present at check-in, and carry the second passport as well. Showing both when asked is usually the fastest way through.
Visas complicate it
A visa or electronic authorisation is tied to a specific passport, not to you. If your authorisation is linked to one document, that is the document you must travel on, and presenting the other will cause a refusal even though you personally are authorised.
Keep a note of which passport carries which permission. Our guide to whether you need a visa on a British passport covers the general position.
Different names on each
Dual nationals frequently hold passports in slightly different forms of their name, particularly where one country records a maiden name or a patronymic differently. That mismatch is what causes most of the difficulty.
Where possible, get the names aligned. Where that is not possible, carry documentation linking them, such as a marriage certificate or deed poll, and expect to explain it. Our guide to travelling after a name change covers the evidence to carry.
Consular help follows the passport
If something goes wrong in a country where you hold nationality, the other country's consulate may be unable to assist, because you are treated as a local citizen rather than a foreign visitor.
This matters more than it sounds, and it is worth understanding before travelling to a country whose nationality you hold but where you do not live.
Practical checklist
Carry both passports, keep them separately from each other, and know which one holds each visa or authorisation. Check the entry and exit rules of every country on the itinerary, including any where you only transit.
Renewals run on separate clocks
Two passports expire on two different dates, and it is easy to keep one current while the other quietly lapses. That becomes a problem the moment you need the neglected one for a country that requires it.
Diary both expiry dates, and renew each with plenty of validity to spare rather than waiting for a trip to force the issue.
Rules differ by nationality and change over time. Confirm the current position with the relevant authorities before you travel; this is general information rather than legal advice.