<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:b50c5a7d-4d34-49be-a9a8-88b6c1eb91de,g:7ab7558c-b72c-46da-b828-5398b5b0827f-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://www.nationalmi.com/role/Cover" xlink:type="simple" xlink:href="nmih-20231231.xsd#Cover"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/Cover" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_CoverAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentType_dfe19140-c0bf-4c75-8456-529c2b5d7153" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentType"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_DocumentType_dfe19140-c0bf-4c75-8456-529c2b5d7153" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentAnnualReport_7dd9b711-db39-4f26-98fd-a4f3815dac7f" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentAnnualReport"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_DocumentAnnualReport_7dd9b711-db39-4f26-98fd-a4f3815dac7f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentPeriodEndDate_17709db4-b858-433d-a38d-63aa74b355c9" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentPeriodEndDate"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_DocumentPeriodEndDate_17709db4-b858-433d-a38d-63aa74b355c9" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CurrentFiscalYearEndDate_68ddfdc8-4e8d-4f02-9895-e03cd32cd538" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_CurrentFiscalYearEndDate"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_CurrentFiscalYearEndDate_68ddfdc8-4e8d-4f02-9895-e03cd32cd538" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentTransitionReport_9e217450-7093-4970-9a92-79e95cf714f2" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentTransitionReport"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_DocumentTransitionReport_9e217450-7093-4970-9a92-79e95cf714f2" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFileNumber_cbe45759-96d9-4280-a07d-cd9d8abe86db" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityFileNumber"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_EntityFileNumber_cbe45759-96d9-4280-a07d-cd9d8abe86db" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityRegistrantName_dffaa23a-7ce2-47a4-af42-e71f5157453e" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityRegistrantName"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_EntityRegistrantName_dffaa23a-7ce2-47a4-af42-e71f5157453e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityIncorporationStateCountryCode_abc5db08-391f-4309-892a-5b960e51a2a5" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityIncorporationStateCountryCode"/>
    <link:presentationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_EntityIncorporationStateCountryCode_abc5db08-391f-4309-892a-5b960e51a2a5" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityTaxIdentificationNumber_ef0d637f-4744-485a-9beb-a66a158ff0da" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityTaxIdentificationNumber"/>
    <link:presentationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_EntityTaxIdentificationNumber_ef0d637f-4744-485a-9beb-a66a158ff0da" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressAddressLine1_7b8aae9c-2699-4bb5-ad4a-30bd1bb7f165" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityAddressAddressLine1"/>
    <link:presentationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_EntityAddressAddressLine1_7b8aae9c-2699-4bb5-ad4a-30bd1bb7f165" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressCityOrTown_05b4ff8d-8e3d-4026-8b92-e7dee96d65ec" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityAddressCityOrTown"/>
    <link:presentationArc order="11" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_EntityAddressCityOrTown_05b4ff8d-8e3d-4026-8b92-e7dee96d65ec" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressStateOrProvince_8b197431-109d-4500-b5fd-3a82abfb918f" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityAddressStateOrProvince"/>
    <link:presentationArc order="12" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_EntityAddressStateOrProvince_8b197431-109d-4500-b5fd-3a82abfb918f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressPostalZipCode_41589103-cb3b-491a-9662-0cd609193eb4" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityAddressPostalZipCode"/>
    <link:presentationArc order="13" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_EntityAddressPostalZipCode_41589103-cb3b-491a-9662-0cd609193eb4" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CityAreaCode_3b2c3d51-47e4-413b-b002-244e35d39077" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_CityAreaCode"/>
    <link:presentationArc order="14" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_CityAreaCode_3b2c3d51-47e4-413b-b002-244e35d39077" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LocalPhoneNumber_a052e245-ee3e-4251-80fb-c8f8ec5aacfd" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_LocalPhoneNumber"/>
    <link:presentationArc order="15" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_LocalPhoneNumber_a052e245-ee3e-4251-80fb-c8f8ec5aacfd" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_Security12bTitle_0db39bd5-7af9-4711-b9ac-3cff65ffd65a" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_Security12bTitle"/>
    <link:presentationArc order="16" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_Security12bTitle_0db39bd5-7af9-4711-b9ac-3cff65ffd65a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_TradingSymbol_617ffd82-e497-4fda-aa93-ed283c10033e" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_TradingSymbol"/>
    <link:presentationArc order="17" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_TradingSymbol_617ffd82-e497-4fda-aa93-ed283c10033e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_SecurityExchangeName_a1ac4ac0-8725-44d1-9543-1f5bbd321fc6" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_SecurityExchangeName"/>
    <link:presentationArc order="18" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_SecurityExchangeName_a1ac4ac0-8725-44d1-9543-1f5bbd321fc6" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityWellKnownSeasonedIssuer_efc9a0a5-6504-4f77-b8cc-be85eea4b2cc" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityWellKnownSeasonedIssuer"/>
    <link:presentationArc order="19" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_EntityWellKnownSeasonedIssuer_efc9a0a5-6504-4f77-b8cc-be85eea4b2cc" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityVoluntaryFilers_97f70e9e-b36c-4db9-b5d4-4d9b7df34c22" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityVoluntaryFilers"/>
    <link:presentationArc order="20" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_EntityVoluntaryFilers_97f70e9e-b36c-4db9-b5d4-4d9b7df34c22" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCurrentReportingStatus_c565d4a4-2283-4746-8bf9-778a06115b54" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityCurrentReportingStatus"/>
    <link:presentationArc order="21" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_EntityCurrentReportingStatus_c565d4a4-2283-4746-8bf9-778a06115b54" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityInteractiveDataCurrent_a4c39b8d-b88c-4152-8230-29faf6189cbb" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityInteractiveDataCurrent"/>
    <link:presentationArc order="22" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_EntityInteractiveDataCurrent_a4c39b8d-b88c-4152-8230-29faf6189cbb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFilerCategory_d80f0d75-c9da-4084-8e36-6f1df12f83f1" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityFilerCategory"/>
    <link:presentationArc order="23" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_EntityFilerCategory_d80f0d75-c9da-4084-8e36-6f1df12f83f1" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntitySmallBusiness_820ebc5c-3933-42da-a498-909732512786" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntitySmallBusiness"/>
    <link:presentationArc order="24" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_EntitySmallBusiness_820ebc5c-3933-42da-a498-909732512786" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityEmergingGrowthCompany_c4a3241e-d86d-4896-81e7-576526836154" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityEmergingGrowthCompany"/>
    <link:presentationArc order="25" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_EntityEmergingGrowthCompany_c4a3241e-d86d-4896-81e7-576526836154" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_IcfrAuditorAttestationFlag_82f2fee1-d21e-436f-adba-0159404c8fb7" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_IcfrAuditorAttestationFlag"/>
    <link:presentationArc order="26" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_IcfrAuditorAttestationFlag_82f2fee1-d21e-436f-adba-0159404c8fb7" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFinStmtErrorCorrectionFlag_fdc8edd8-3549-45c9-9f95-03b58e844cad" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentFinStmtErrorCorrectionFlag"/>
    <link:presentationArc order="27" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_DocumentFinStmtErrorCorrectionFlag_fdc8edd8-3549-45c9-9f95-03b58e844cad" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityShellCompany_26d6c2d2-382d-42e7-a2e3-b04a6ccaa5d3" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityShellCompany"/>
    <link:presentationArc order="28" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_EntityShellCompany_26d6c2d2-382d-42e7-a2e3-b04a6ccaa5d3" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityPublicFloat_c62ce6da-86b8-46a2-91d1-f20cf8e1ba8c" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityPublicFloat"/>
    <link:presentationArc order="29" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_EntityPublicFloat_c62ce6da-86b8-46a2-91d1-f20cf8e1ba8c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCommonStockSharesOutstanding_388d320f-d48d-4d25-b798-68d2594c414f" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityCommonStockSharesOutstanding"/>
    <link:presentationArc order="30" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_EntityCommonStockSharesOutstanding_388d320f-d48d-4d25-b798-68d2594c414f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentsIncorporatedByReferenceTextBlock_27f3312d-9875-4820-a762-c48f96d6ff9f" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentsIncorporatedByReferenceTextBlock"/>
    <link:presentationArc order="31" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_DocumentsIncorporatedByReferenceTextBlock_27f3312d-9875-4820-a762-c48f96d6ff9f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCentralIndexKey_33ea9f94-fecc-4669-821d-9906b8654a9e" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityCentralIndexKey"/>
    <link:presentationArc order="32" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_EntityCentralIndexKey_33ea9f94-fecc-4669-821d-9906b8654a9e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AmendmentFlag_3d095811-64e9-42d6-8f03-12628611b181" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_AmendmentFlag"/>
    <link:presentationArc order="33" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_AmendmentFlag_3d095811-64e9-42d6-8f03-12628611b181" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFiscalYearFocus_8a78b2c4-6ee2-490e-8444-46e7dee88d5c" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentFiscalYearFocus"/>
    <link:presentationArc order="34" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_DocumentFiscalYearFocus_8a78b2c4-6ee2-490e-8444-46e7dee88d5c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFiscalPeriodFocus_fdd46e52-7928-43b7-a178-2c76e23bc994" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentFiscalPeriodFocus"/>
    <link:presentationArc order="35" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_9db153fd-b87b-445d-a0d6-63229899e1c3" xlink:to="loc_dei_DocumentFiscalPeriodFocus_fdd46e52-7928-43b7-a178-2c76e23bc994" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/AuditInformation" xlink:type="simple" xlink:href="nmih-20231231.xsd#AuditInformation"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/AuditInformation" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_nmih_AuditInformationAbstract_a7a02feb-4d94-4fda-b30c-1e050bc8c739" xlink:href="nmih-20231231.xsd#nmih_AuditInformationAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AuditorName_65a9dc05-4d86-42e9-8204-2c4cbc021249" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_AuditorName"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_nmih_AuditInformationAbstract_a7a02feb-4d94-4fda-b30c-1e050bc8c739" xlink:to="loc_dei_AuditorName_65a9dc05-4d86-42e9-8204-2c4cbc021249" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AuditorLocation_c4a5a6d5-d5e4-4de8-acdf-1e1991f6c2a8" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_AuditorLocation"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_nmih_AuditInformationAbstract_a7a02feb-4d94-4fda-b30c-1e050bc8c739" xlink:to="loc_dei_AuditorLocation_c4a5a6d5-d5e4-4de8-acdf-1e1991f6c2a8" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AuditorFirmId_74897626-ba64-46cb-a26c-782ee89cb0b4" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_AuditorFirmId"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_nmih_AuditInformationAbstract_a7a02feb-4d94-4fda-b30c-1e050bc8c739" xlink:to="loc_dei_AuditorFirmId_74897626-ba64-46cb-a26c-782ee89cb0b4" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="nmih-20231231.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementOfFinancialPositionAbstract_88f70371-5fc7-499a-a557-a8083aa6ceb3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementOfFinancialPositionAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_5a628d91-e23f-4bf5-bb25-d57a9abcb16a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsAbstract"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_88f70371-5fc7-499a-a557-a8083aa6ceb3" xlink:to="loc_us-gaap_AssetsAbstract_5a628d91-e23f-4bf5-bb25-d57a9abcb16a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_1ece2276-85da-4897-91c5-ad97df685c76" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_5a628d91-e23f-4bf5-bb25-d57a9abcb16a" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_1ece2276-85da-4897-91c5-ad97df685c76" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_24042f0e-c284-4235-8d29-8f48eb61a614" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_5a628d91-e23f-4bf5-bb25-d57a9abcb16a" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_24042f0e-c284-4235-8d29-8f48eb61a614" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PremiumsReceivableAtCarryingValue_8080daf0-5689-4833-9280-7bba9b3067ff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PremiumsReceivableAtCarryingValue"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_5a628d91-e23f-4bf5-bb25-d57a9abcb16a" xlink:to="loc_us-gaap_PremiumsReceivableAtCarryingValue_8080daf0-5689-4833-9280-7bba9b3067ff" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedInvestmentIncomeReceivable_ef215a56-4e32-4691-ad9e-ba7db82dc030" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedInvestmentIncomeReceivable"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_5a628d91-e23f-4bf5-bb25-d57a9abcb16a" xlink:to="loc_us-gaap_AccruedInvestmentIncomeReceivable_ef215a56-4e32-4691-ad9e-ba7db82dc030" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredPolicyAcquisitionCosts_4c07565c-f5c0-463f-b227-80d4417169d4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredPolicyAcquisitionCosts"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_5a628d91-e23f-4bf5-bb25-d57a9abcb16a" xlink:to="loc_us-gaap_DeferredPolicyAcquisitionCosts_4c07565c-f5c0-463f-b227-80d4417169d4" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_b18a71ee-0779-40c4-8b4b-435514c49c30" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_5a628d91-e23f-4bf5-bb25-d57a9abcb16a" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_b18a71ee-0779-40c4-8b4b-435514c49c30" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetIncludingGoodwill_7dea8ea7-33eb-4d5b-a64e-380ba1f8f3d8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsNetIncludingGoodwill"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_5a628d91-e23f-4bf5-bb25-d57a9abcb16a" xlink:to="loc_us-gaap_IntangibleAssetsNetIncludingGoodwill_7dea8ea7-33eb-4d5b-a64e-380ba1f8f3d8" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReinsuranceRecoverablesGross_84145164-b7f1-4462-a414-a460a7f35e52" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReinsuranceRecoverablesGross"/>
    <link:presentationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_5a628d91-e23f-4bf5-bb25-d57a9abcb16a" xlink:to="loc_us-gaap_ReinsuranceRecoverablesGross_84145164-b7f1-4462-a414-a460a7f35e52" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_PrepaidFederalIncomeTaxes_d59ce1af-450a-416f-88ff-47efcd2579f6" xlink:href="nmih-20231231.xsd#nmih_PrepaidFederalIncomeTaxes"/>
    <link:presentationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_5a628d91-e23f-4bf5-bb25-d57a9abcb16a" xlink:to="loc_nmih_PrepaidFederalIncomeTaxes_d59ce1af-450a-416f-88ff-47efcd2579f6" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_00c2fd6f-5ca0-4b27-b338-af249a9ed5a1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssets"/>
    <link:presentationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_5a628d91-e23f-4bf5-bb25-d57a9abcb16a" xlink:to="loc_us-gaap_OtherAssets_00c2fd6f-5ca0-4b27-b338-af249a9ed5a1" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_1374b538-a46c-48ab-a512-795ed2a4af5b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets"/>
    <link:presentationArc order="11" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_5a628d91-e23f-4bf5-bb25-d57a9abcb16a" xlink:to="loc_us-gaap_Assets_1374b538-a46c-48ab-a512-795ed2a4af5b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAbstract_8a016c73-01c9-447e-9469-e29773b068e2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAbstract"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_88f70371-5fc7-499a-a557-a8083aa6ceb3" xlink:to="loc_us-gaap_LiabilitiesAbstract_8a016c73-01c9-447e-9469-e29773b068e2" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebt_96500534-cafa-4a91-87fa-17c2240aaefe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SecuredDebt"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesAbstract_8a016c73-01c9-447e-9469-e29773b068e2" xlink:to="loc_us-gaap_SecuredDebt_96500534-cafa-4a91-87fa-17c2240aaefe" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnearnedPremiums_08a78e89-060d-47bd-8112-d9c091f2f45e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnearnedPremiums"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesAbstract_8a016c73-01c9-447e-9469-e29773b068e2" xlink:to="loc_us-gaap_UnearnedPremiums_08a78e89-060d-47bd-8112-d9c091f2f45e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_ba469ec3-9c66-47f5-9239-e775a4d2395e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesAbstract_8a016c73-01c9-447e-9469-e29773b068e2" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_ba469ec3-9c66-47f5-9239-e775a4d2395e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense_ec223380-a6e5-43a3-bd54-0f87193bb47c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesAbstract_8a016c73-01c9-447e-9469-e29773b068e2" xlink:to="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense_ec223380-a6e5-43a3-bd54-0f87193bb47c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FundsHeldUnderReinsuranceAgreementsLiability_854e9632-12be-47fc-8bc7-13c428b5e0ed" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FundsHeldUnderReinsuranceAgreementsLiability"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesAbstract_8a016c73-01c9-447e-9469-e29773b068e2" xlink:to="loc_us-gaap_FundsHeldUnderReinsuranceAgreementsLiability_854e9632-12be-47fc-8bc7-13c428b5e0ed" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_5aa328ac-9584-4df3-a94a-56c89da668cb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesAbstract_8a016c73-01c9-447e-9469-e29773b068e2" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_5aa328ac-9584-4df3-a94a-56c89da668cb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_9e572e16-4e4e-466a-9ab1-d367ac5bb09a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLiabilities"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesAbstract_8a016c73-01c9-447e-9469-e29773b068e2" xlink:to="loc_us-gaap_OtherLiabilities_9e572e16-4e4e-466a-9ab1-d367ac5bb09a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_9f1b69d8-5b92-4cc2-aaac-6301a51841f5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities"/>
    <link:presentationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesAbstract_8a016c73-01c9-447e-9469-e29773b068e2" xlink:to="loc_us-gaap_Liabilities_9f1b69d8-5b92-4cc2-aaac-6301a51841f5" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_7816f7c4-9209-434b-9c70-90b392c2c9d0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_88f70371-5fc7-499a-a557-a8083aa6ceb3" xlink:to="loc_us-gaap_CommitmentsAndContingencies_7816f7c4-9209-434b-9c70-90b392c2c9d0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityAbstract_60c87492-1163-4ec0-9d81-0fb0ef08307f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquityAbstract"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_88f70371-5fc7-499a-a557-a8083aa6ceb3" xlink:to="loc_us-gaap_StockholdersEquityAbstract_60c87492-1163-4ec0-9d81-0fb0ef08307f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValueOutstanding_20c8fa6f-a639-49d0-b0f9-10684b4086fe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockValueOutstanding"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StockholdersEquityAbstract_60c87492-1163-4ec0-9d81-0fb0ef08307f" xlink:to="loc_us-gaap_CommonStockValueOutstanding_20c8fa6f-a639-49d0-b0f9-10684b4086fe" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_a34f5364-1a46-4f70-89a2-dcac5d2eb847" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StockholdersEquityAbstract_60c87492-1163-4ec0-9d81-0fb0ef08307f" xlink:to="loc_us-gaap_AdditionalPaidInCapital_a34f5364-1a46-4f70-89a2-dcac5d2eb847" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonValue_86959ea3-7a63-4648-9c8b-9eb72385eb69" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TreasuryStockCommonValue"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StockholdersEquityAbstract_60c87492-1163-4ec0-9d81-0fb0ef08307f" xlink:to="loc_us-gaap_TreasuryStockCommonValue_86959ea3-7a63-4648-9c8b-9eb72385eb69" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_d801c8b1-fa1c-409d-a135-1306e71ce0a6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StockholdersEquityAbstract_60c87492-1163-4ec0-9d81-0fb0ef08307f" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_d801c8b1-fa1c-409d-a135-1306e71ce0a6" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_12e7b275-cef0-4612-aa40-8ea45ae29817" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StockholdersEquityAbstract_60c87492-1163-4ec0-9d81-0fb0ef08307f" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_12e7b275-cef0-4612-aa40-8ea45ae29817" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_23416029-0a8c-4d8a-a46c-2a6acccc0134" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StockholdersEquityAbstract_60c87492-1163-4ec0-9d81-0fb0ef08307f" xlink:to="loc_us-gaap_StockholdersEquity_23416029-0a8c-4d8a-a46c-2a6acccc0134" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_6fae7b92-6f8d-422f-93aa-fe13397c160f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_88f70371-5fc7-499a-a557-a8083aa6ceb3" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_6fae7b92-6f8d-422f-93aa-fe13397c160f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/CONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="simple" xlink:href="nmih-20231231.xsd#CONSOLIDATEDBALANCESHEETSParenthetical"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/CONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementOfFinancialPositionAbstract_71d24c56-26a0-4810-829f-131d2fa11bdf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementOfFinancialPositionAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_d59ba0ac-79e4-4306-84ed-92dab9f563ef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_71d24c56-26a0-4810-829f-131d2fa11bdf" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_d59ba0ac-79e4-4306-84ed-92dab9f563ef" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_67c5074d-a58b-4926-b7e0-90c90e1530e5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedCash"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_71d24c56-26a0-4810-829f-131d2fa11bdf" xlink:to="loc_us-gaap_RestrictedCash_67c5074d-a58b-4926-b7e0-90c90e1530e5" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_0b46502c-579d-46c9-b94a-45fb1d41a4aa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockParOrStatedValuePerShare"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_71d24c56-26a0-4810-829f-131d2fa11bdf" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_0b46502c-579d-46c9-b94a-45fb1d41a4aa" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_b0ece20e-140c-4d7e-86b4-558c00ff8705" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_71d24c56-26a0-4810-829f-131d2fa11bdf" xlink:to="loc_us-gaap_CommonStockSharesIssued_b0ece20e-140c-4d7e-86b4-558c00ff8705" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_c7bb0c0c-abe3-4c0b-9eef-4963805fc961" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_71d24c56-26a0-4810-829f-131d2fa11bdf" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_c7bb0c0c-abe3-4c0b-9eef-4963805fc961" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_c3c1b1ec-d0d4-4a92-9a3f-749b44f242a5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesAuthorized"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_71d24c56-26a0-4810-829f-131d2fa11bdf" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_c3c1b1ec-d0d4-4a92-9a3f-749b44f242a5" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonShares_4069b13a-3ce4-4d47-898c-824edbf0d607" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TreasuryStockCommonShares"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_71d24c56-26a0-4810-829f-131d2fa11bdf" xlink:to="loc_us-gaap_TreasuryStockCommonShares_4069b13a-3ce4-4d47-898c-824edbf0d607" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVEINCOME" xlink:type="simple" xlink:href="nmih-20231231.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVEINCOME"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVEINCOME" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementAbstract_1c6ff4ba-1490-4347-a945-f4cfb43bdf6f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenuesAbstract_37d923de-d2ca-4302-82d2-6615ca27c65e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenuesAbstract"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeStatementAbstract_1c6ff4ba-1490-4347-a945-f4cfb43bdf6f" xlink:to="loc_us-gaap_RevenuesAbstract_37d923de-d2ca-4302-82d2-6615ca27c65e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PremiumsEarnedNet_d7f990f6-d3c1-477d-ab20-b3c06d20ac62" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PremiumsEarnedNet"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RevenuesAbstract_37d923de-d2ca-4302-82d2-6615ca27c65e" xlink:to="loc_us-gaap_PremiumsEarnedNet_d7f990f6-d3c1-477d-ab20-b3c06d20ac62" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_47735020-0170-460d-bb7d-29e84cfae1ec" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetInvestmentIncome"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RevenuesAbstract_37d923de-d2ca-4302-82d2-6615ca27c65e" xlink:to="loc_us-gaap_NetInvestmentIncome_47735020-0170-460d-bb7d-29e84cfae1ec" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnInvestments_73cc6fe6-ecad-4063-8a5b-5454fb3c1feb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainLossOnInvestments"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RevenuesAbstract_37d923de-d2ca-4302-82d2-6615ca27c65e" xlink:to="loc_us-gaap_GainLossOnInvestments_73cc6fe6-ecad-4063-8a5b-5454fb3c1feb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherIncome_14dd5f1f-72c3-4006-9038-29f4d9c3b640" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherIncome"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RevenuesAbstract_37d923de-d2ca-4302-82d2-6615ca27c65e" xlink:to="loc_us-gaap_OtherIncome_14dd5f1f-72c3-4006-9038-29f4d9c3b640" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_ed163222-50c3-4709-a384-94fcb50c6353" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Revenues"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RevenuesAbstract_37d923de-d2ca-4302-82d2-6615ca27c65e" xlink:to="loc_us-gaap_Revenues_ed163222-50c3-4709-a384-94fcb50c6353" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpensesAbstract_9ea6dfd9-820b-4dbb-9bb3-1b5c1dc6903e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostsAndExpensesAbstract"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeStatementAbstract_1c6ff4ba-1490-4347-a945-f4cfb43bdf6f" xlink:to="loc_us-gaap_CostsAndExpensesAbstract_9ea6dfd9-820b-4dbb-9bb3-1b5c1dc6903e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PolicyholderBenefitsAndClaimsIncurredNet_f014889f-04f0-48fe-ab3b-b97ad276228d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PolicyholderBenefitsAndClaimsIncurredNet"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_9ea6dfd9-820b-4dbb-9bb3-1b5c1dc6903e" xlink:to="loc_us-gaap_PolicyholderBenefitsAndClaimsIncurredNet_f014889f-04f0-48fe-ab3b-b97ad276228d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCostAndExpenseOperating_812c400d-b701-4d54-9e8c-e36c8a99db2a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherCostAndExpenseOperating"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_9ea6dfd9-820b-4dbb-9bb3-1b5c1dc6903e" xlink:to="loc_us-gaap_OtherCostAndExpenseOperating_812c400d-b701-4d54-9e8c-e36c8a99db2a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingExpense_9f62c3b9-75bd-4b39-8092-1bb558ee7460" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherNonoperatingExpense"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_9ea6dfd9-820b-4dbb-9bb3-1b5c1dc6903e" xlink:to="loc_us-gaap_OtherNonoperatingExpense_9f62c3b9-75bd-4b39-8092-1bb558ee7460" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_65fdcedb-b55e-45a5-8891-5a5090b790d5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpense"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_9ea6dfd9-820b-4dbb-9bb3-1b5c1dc6903e" xlink:to="loc_us-gaap_InterestExpense_65fdcedb-b55e-45a5-8891-5a5090b790d5" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_GainLossonChangeinFairValueofWarrantLiability_6c14baf7-a2db-45c6-8f43-c2b12ac1029b" xlink:href="nmih-20231231.xsd#nmih_GainLossonChangeinFairValueofWarrantLiability"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_9ea6dfd9-820b-4dbb-9bb3-1b5c1dc6903e" xlink:to="loc_nmih_GainLossonChangeinFairValueofWarrantLiability_6c14baf7-a2db-45c6-8f43-c2b12ac1029b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_2367f7c8-85c8-451a-8845-99f8319f2f38" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostsAndExpenses"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_9ea6dfd9-820b-4dbb-9bb3-1b5c1dc6903e" xlink:to="loc_us-gaap_CostsAndExpenses_2367f7c8-85c8-451a-8845-99f8319f2f38" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_dd302a9a-4e49-4e5c-b311-24a3ed07a60f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeStatementAbstract_1c6ff4ba-1490-4347-a945-f4cfb43bdf6f" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_dd302a9a-4e49-4e5c-b311-24a3ed07a60f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_fc102d5e-8c91-40cc-ba3c-be45bd075c0e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeStatementAbstract_1c6ff4ba-1490-4347-a945-f4cfb43bdf6f" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_fc102d5e-8c91-40cc-ba3c-be45bd075c0e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_3faeb169-468a-4f68-a0e2-e73d298d54b2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeStatementAbstract_1c6ff4ba-1490-4347-a945-f4cfb43bdf6f" xlink:to="loc_us-gaap_NetIncomeLoss_3faeb169-468a-4f68-a0e2-e73d298d54b2" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_EarningsPerShareBasicAndDilutedEPSAbstract_891ea7b3-90e9-4b28-b505-0b5a9137fef2" xlink:href="nmih-20231231.xsd#nmih_EarningsPerShareBasicAndDilutedEPSAbstract"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeStatementAbstract_1c6ff4ba-1490-4347-a945-f4cfb43bdf6f" xlink:to="loc_nmih_EarningsPerShareBasicAndDilutedEPSAbstract_891ea7b3-90e9-4b28-b505-0b5a9137fef2" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_f230ef1c-0376-4d22-8eff-57ade5f1a29c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_nmih_EarningsPerShareBasicAndDilutedEPSAbstract_891ea7b3-90e9-4b28-b505-0b5a9137fef2" xlink:to="loc_us-gaap_EarningsPerShareBasic_f230ef1c-0376-4d22-8eff-57ade5f1a29c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_64a4c19a-3bf7-486b-b932-bfe77dc8bd1f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_nmih_EarningsPerShareBasicAndDilutedEPSAbstract_891ea7b3-90e9-4b28-b505-0b5a9137fef2" xlink:to="loc_us-gaap_EarningsPerShareDiluted_64a4c19a-3bf7-486b-b932-bfe77dc8bd1f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_eb963156-400d-4085-ad8b-c63bb95bdb94" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeStatementAbstract_1c6ff4ba-1490-4347-a945-f4cfb43bdf6f" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_eb963156-400d-4085-ad8b-c63bb95bdb94" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_4e9a86c4-8775-4416-8212-3e9726b55fd3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_eb963156-400d-4085-ad8b-c63bb95bdb94" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_4e9a86c4-8775-4416-8212-3e9726b55fd3" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_aadab578-8dc7-4a95-b1e0-275eefc779e3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_eb963156-400d-4085-ad8b-c63bb95bdb94" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_aadab578-8dc7-4a95-b1e0-275eefc779e3" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAbstract_43bf9a34-278f-4bb7-9be0-1323b90ee1c9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAbstract"/>
    <link:presentationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeStatementAbstract_1c6ff4ba-1490-4347-a945-f4cfb43bdf6f" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxAbstract_43bf9a34-278f-4bb7-9be0-1323b90ee1c9" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_05523a44-7046-4db0-99f1-653d95b2eefb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxAbstract_43bf9a34-278f-4bb7-9be0-1323b90ee1c9" xlink:to="loc_us-gaap_NetIncomeLoss_05523a44-7046-4db0-99f1-653d95b2eefb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_460bb925-9b19-42d3-9406-ca0a472bc19f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxAbstract_43bf9a34-278f-4bb7-9be0-1323b90ee1c9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_460bb925-9b19-42d3-9406-ca0a472bc19f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_58ca10a1-724e-4e54-8f26-6321cbb39ad9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_460bb925-9b19-42d3-9406-ca0a472bc19f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_58ca10a1-724e-4e54-8f26-6321cbb39ad9" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_cee0cc60-968e-46de-b429-3094f839f3f4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_460bb925-9b19-42d3-9406-ca0a472bc19f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_cee0cc60-968e-46de-b429-3094f839f3f4" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_3d905f10-d198-4b7d-9f95-a70afe2864f2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_460bb925-9b19-42d3-9406-ca0a472bc19f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_3d905f10-d198-4b7d-9f95-a70afe2864f2" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_39a4bd38-80f7-4d75-8b22-443dd90bf440" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxAbstract_43bf9a34-278f-4bb7-9be0-1323b90ee1c9" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTax_39a4bd38-80f7-4d75-8b22-443dd90bf440" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVEINCOMEParenthetical" xlink:type="simple" xlink:href="nmih-20231231.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVEINCOMEParenthetical"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVEINCOMEParenthetical" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementAbstract_22431682-2e13-4242-88ff-b6fb561e9ae2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_9e13cde4-74ac-49f3-891f-a9ad72d79cdf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeStatementAbstract_22431682-2e13-4242-88ff-b6fb561e9ae2" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_9e13cde4-74ac-49f3-891f-a9ad72d79cdf" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax_15e68fef-ebb2-4766-8876-0e160e80822f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeStatementAbstract_22431682-2e13-4242-88ff-b6fb561e9ae2" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax_15e68fef-ebb2-4766-8876-0e160e80822f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY" xlink:type="simple" xlink:href="nmih-20231231.xsd#CONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementOfStockholdersEquityAbstract_d04551cc-e84c-441e-a115-6ecdd562d69f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementOfStockholdersEquityAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_05d04f06-1fa2-4e47-b5e9-4e0ee4ca39cb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfStockholdersEquityAbstract_d04551cc-e84c-441e-a115-6ecdd562d69f" xlink:to="loc_us-gaap_StatementTable_05d04f06-1fa2-4e47-b5e9-4e0ee4ca39cb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_b719410e-a7d6-4e7d-9780-360134f2f54a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_05d04f06-1fa2-4e47-b5e9-4e0ee4ca39cb" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_b719410e-a7d6-4e7d-9780-360134f2f54a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_9778e9f5-7a08-46f5-9b68-2820018f282a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_b719410e-a7d6-4e7d-9780-360134f2f54a" xlink:to="loc_us-gaap_EquityComponentDomain_9778e9f5-7a08-46f5-9b68-2820018f282a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_93d5a04d-054e-48e7-a65b-a336b0ebe9dd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityComponentDomain_9778e9f5-7a08-46f5-9b68-2820018f282a" xlink:to="loc_us-gaap_CommonStockMember_93d5a04d-054e-48e7-a65b-a336b0ebe9dd" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_da4e1448-02cb-4e37-8f08-932a3a5ab275" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityComponentDomain_9778e9f5-7a08-46f5-9b68-2820018f282a" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_da4e1448-02cb-4e37-8f08-932a3a5ab275" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonMember_c79cd85b-a59e-455f-b63f-33d5902f2987" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TreasuryStockCommonMember"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityComponentDomain_9778e9f5-7a08-46f5-9b68-2820018f282a" xlink:to="loc_us-gaap_TreasuryStockCommonMember_c79cd85b-a59e-455f-b63f-33d5902f2987" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_99374a02-2348-44e5-a4c1-e9e6457db29c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityComponentDomain_9778e9f5-7a08-46f5-9b68-2820018f282a" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_99374a02-2348-44e5-a4c1-e9e6457db29c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_d936e18b-5b56-4e77-b39c-853b4d111e21" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsMember"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityComponentDomain_9778e9f5-7a08-46f5-9b68-2820018f282a" xlink:to="loc_us-gaap_RetainedEarningsMember_d936e18b-5b56-4e77-b39c-853b4d111e21" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_cd129345-8aab-46a3-83e9-db488d18f9c0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementLineItems"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_05d04f06-1fa2-4e47-b5e9-4e0ee4ca39cb" xlink:to="loc_us-gaap_StatementLineItems_cd129345-8aab-46a3-83e9-db488d18f9c0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_510840c5-28b1-4e81-9c28-f0c0cd9354a3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_cd129345-8aab-46a3-83e9-db488d18f9c0" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_510840c5-28b1-4e81-9c28-f0c0cd9354a3" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_d21861ac-39fa-46e0-8ac8-72b3741750f6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_510840c5-28b1-4e81-9c28-f0c0cd9354a3" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_d21861ac-39fa-46e0-8ac8-72b3741750f6" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_bb62aafe-dd69-4eb5-9d13-66948f34c22a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_510840c5-28b1-4e81-9c28-f0c0cd9354a3" xlink:to="loc_us-gaap_StockholdersEquity_bb62aafe-dd69-4eb5-9d13-66948f34c22a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_c510e7db-2a41-479a-97c4-db4342d546bf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_510840c5-28b1-4e81-9c28-f0c0cd9354a3" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_c510e7db-2a41-479a-97c4-db4342d546bf" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities_8e4982af-a5ed-4e01-9a1d-410a2c82874b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_510840c5-28b1-4e81-9c28-f0c0cd9354a3" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities_8e4982af-a5ed-4e01-9a1d-410a2c82874b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlansNetofSharesForTaxWithholdings_f4731737-acac-41e3-aa6f-c8220d49651c" xlink:href="nmih-20231231.xsd#nmih_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlansNetofSharesForTaxWithholdings"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_510840c5-28b1-4e81-9c28-f0c0cd9354a3" xlink:to="loc_nmih_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlansNetofSharesForTaxWithholdings_f4731737-acac-41e3-aa6f-c8220d49651c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_StockIssuedDuringPeriodValueEmployeeStockPurchasePlanNetofTaxWithholdings_677afb17-a6e3-4cbe-a99e-3c292a71a6a8" xlink:href="nmih-20231231.xsd#nmih_StockIssuedDuringPeriodValueEmployeeStockPurchasePlanNetofTaxWithholdings"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_510840c5-28b1-4e81-9c28-f0c0cd9354a3" xlink:to="loc_nmih_StockIssuedDuringPeriodValueEmployeeStockPurchasePlanNetofTaxWithholdings_677afb17-a6e3-4cbe-a99e-3c292a71a6a8" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_c277fd57-026c-417e-a690-0f40c2d36a52" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodShares"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_510840c5-28b1-4e81-9c28-f0c0cd9354a3" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_c277fd57-026c-417e-a690-0f40c2d36a52" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_386590f1-2544-4ad8-84e8-d846c5d96a1f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod"/>
    <link:presentationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_510840c5-28b1-4e81-9c28-f0c0cd9354a3" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_386590f1-2544-4ad8-84e8-d846c5d96a1f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_1b8a30eb-88c0-464b-b9f9-ecc36102edff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:presentationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_510840c5-28b1-4e81-9c28-f0c0cd9354a3" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_1b8a30eb-88c0-464b-b9f9-ecc36102edff" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_6c9ad62d-9a25-4fc9-96ee-e8ef12d23143" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:presentationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_510840c5-28b1-4e81-9c28-f0c0cd9354a3" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_6c9ad62d-9a25-4fc9-96ee-e8ef12d23143" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_98c20ceb-676f-4d55-a3b4-dda7d4e43cd4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:presentationArc order="11" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_510840c5-28b1-4e81-9c28-f0c0cd9354a3" xlink:to="loc_us-gaap_NetIncomeLoss_98c20ceb-676f-4d55-a3b4-dda7d4e43cd4" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_a9c7fafc-ecec-4da9-aeab-11536e297383" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:presentationArc order="12" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_510840c5-28b1-4e81-9c28-f0c0cd9354a3" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_a9c7fafc-ecec-4da9-aeab-11536e297383" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_7d55b2a5-af73-4299-9a32-4f421b706d09" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:presentationArc order="13" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_510840c5-28b1-4e81-9c28-f0c0cd9354a3" xlink:to="loc_us-gaap_StockholdersEquity_7d55b2a5-af73-4299-9a32-4f421b706d09" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITYParenthetical" xlink:type="simple" xlink:href="nmih-20231231.xsd#CONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITYParenthetical"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITYParenthetical" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementOfStockholdersEquityAbstract_d97baacc-cba7-4528-b2f2-718cef12179c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementOfStockholdersEquityAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax_da225632-510c-486d-9f8d-737b8468f077" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfStockholdersEquityAbstract_d97baacc-cba7-4528-b2f2-718cef12179c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax_da225632-510c-486d-9f8d-737b8468f077" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="nmih-20231231.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementOfCashFlowsAbstract_03cbd8c0-af92-45ee-8a40-b205b2df66c8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementOfCashFlowsAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_c85707ed-6bc2-4dfc-85c0-13b1f36b5a02" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfCashFlowsAbstract_03cbd8c0-af92-45ee-8a40-b205b2df66c8" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_c85707ed-6bc2-4dfc-85c0-13b1f36b5a02" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_13dbe04c-5950-4249-88da-2d800f88cb6d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_c85707ed-6bc2-4dfc-85c0-13b1f36b5a02" xlink:to="loc_us-gaap_NetIncomeLoss_13dbe04c-5950-4249-88da-2d800f88cb6d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_dbe0e004-4d62-49bc-b46c-b20fab82cb48" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_c85707ed-6bc2-4dfc-85c0-13b1f36b5a02" xlink:to="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_dbe0e004-4d62-49bc-b46c-b20fab82cb48" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_5e05cf85-fd2f-4491-bba7-2da1ede3d396" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_dbe0e004-4d62-49bc-b46c-b20fab82cb48" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_5e05cf85-fd2f-4491-bba7-2da1ede3d396" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_GainLossonChangeinFairValueofWarrantLiability_4c6fd5ca-9ac3-490e-ae60-1575d8ed2f4c" xlink:href="nmih-20231231.xsd#nmih_GainLossonChangeinFairValueofWarrantLiability"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_dbe0e004-4d62-49bc-b46c-b20fab82cb48" xlink:to="loc_nmih_GainLossonChangeinFairValueofWarrantLiability_4c6fd5ca-9ac3-490e-ae60-1575d8ed2f4c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAmortizationAndAccretionNet_80cca2e0-da62-4cda-939e-0879388fb661" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DepreciationAmortizationAndAccretionNet"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_dbe0e004-4d62-49bc-b46c-b20fab82cb48" xlink:to="loc_us-gaap_DepreciationAmortizationAndAccretionNet_80cca2e0-da62-4cda-939e-0879388fb661" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_4e29d8d9-caeb-4e65-bd50-7e9598bc081f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_dbe0e004-4d62-49bc-b46c-b20fab82cb48" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_4e29d8d9-caeb-4e65-bd50-7e9598bc081f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_b7ad67e2-e162-4c62-8a61-e0bd3a694b62" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_dbe0e004-4d62-49bc-b46c-b20fab82cb48" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_b7ad67e2-e162-4c62-8a61-e0bd3a694b62" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_93d2f35c-a6c9-4c86-a6d1-1c4f86007824" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_dbe0e004-4d62-49bc-b46c-b20fab82cb48" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_93d2f35c-a6c9-4c86-a6d1-1c4f86007824" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_88e2a23a-e8d9-4a76-8ac9-832b8b89e571" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensation"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_dbe0e004-4d62-49bc-b46c-b20fab82cb48" xlink:to="loc_us-gaap_ShareBasedCompensation_88e2a23a-e8d9-4a76-8ac9-832b8b89e571" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_40de6482-eab1-4b1a-9066-6bb3a2004ba9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract"/>
    <link:presentationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_dbe0e004-4d62-49bc-b46c-b20fab82cb48" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_40de6482-eab1-4b1a-9066-6bb3a2004ba9" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPremiumsReceivable_10005a44-84e9-49f3-b2a5-c542015de619" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInPremiumsReceivable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_40de6482-eab1-4b1a-9066-6bb3a2004ba9" xlink:to="loc_us-gaap_IncreaseDecreaseInPremiumsReceivable_10005a44-84e9-49f3-b2a5-c542015de619" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInvestmentIncomeReceivable_321469dc-9833-4f50-89ab-d6c9aad3938b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccruedInvestmentIncomeReceivable"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_40de6482-eab1-4b1a-9066-6bb3a2004ba9" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInvestmentIncomeReceivable_321469dc-9833-4f50-89ab-d6c9aad3938b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredPolicyAcquisitionCosts_e32dcfc9-ee0a-4d99-b6cf-f087d6f56b6c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInDeferredPolicyAcquisitionCosts"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_40de6482-eab1-4b1a-9066-6bb3a2004ba9" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredPolicyAcquisitionCosts_e32dcfc9-ee0a-4d99-b6cf-f087d6f56b6c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInReinsuranceRecoverable_2deba574-feb1-4dc2-a603-5aa5018a1c1e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInReinsuranceRecoverable"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_40de6482-eab1-4b1a-9066-6bb3a2004ba9" xlink:to="loc_us-gaap_IncreaseDecreaseInReinsuranceRecoverable_2deba574-feb1-4dc2-a603-5aa5018a1c1e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidTaxes_96a74e0c-1cf5-453a-8a0f-3982e9daef23" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInPrepaidTaxes"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_40de6482-eab1-4b1a-9066-6bb3a2004ba9" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidTaxes_96a74e0c-1cf5-453a-8a0f-3982e9daef23" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_36389630-29d5-4d83-bd39-33e5f73d6838" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_40de6482-eab1-4b1a-9066-6bb3a2004ba9" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_36389630-29d5-4d83-bd39-33e5f73d6838" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInUnearnedPremiums_85645f52-2dd2-49a3-8d3c-cd858f9f1e00" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInUnearnedPremiums"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_40de6482-eab1-4b1a-9066-6bb3a2004ba9" xlink:to="loc_us-gaap_IncreaseDecreaseInUnearnedPremiums_85645f52-2dd2-49a3-8d3c-cd858f9f1e00" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInLiabilityForClaimsAndClaimsAdjustmentExpenseReserve_2adf345a-7519-4492-b8b2-052bad143ae8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInLiabilityForClaimsAndClaimsAdjustmentExpenseReserve"/>
    <link:presentationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_40de6482-eab1-4b1a-9066-6bb3a2004ba9" xlink:to="loc_us-gaap_IncreaseDecreaseInLiabilityForClaimsAndClaimsAdjustmentExpenseReserve_2adf345a-7519-4492-b8b2-052bad143ae8" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_IncreaseDecreaseinReinsuranceAssetsandLiabilities_ac116e5f-68dd-4ea3-ba93-dbb7f11a0ccf" xlink:href="nmih-20231231.xsd#nmih_IncreaseDecreaseinReinsuranceAssetsandLiabilities"/>
    <link:presentationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_40de6482-eab1-4b1a-9066-6bb3a2004ba9" xlink:to="loc_nmih_IncreaseDecreaseinReinsuranceAssetsandLiabilities_ac116e5f-68dd-4ea3-ba93-dbb7f11a0ccf" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_37f554b5-46b4-4918-9b62-727916549eec" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/>
    <link:presentationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_40de6482-eab1-4b1a-9066-6bb3a2004ba9" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_37f554b5-46b4-4918-9b62-727916549eec" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_36c6fdf8-e552-4291-abd1-75ad0f9365fe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_c85707ed-6bc2-4dfc-85c0-13b1f36b5a02" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_36c6fdf8-e552-4291-abd1-75ad0f9365fe" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_7afe9aa4-ddf7-44e1-978a-0ce0ca531978" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfCashFlowsAbstract_03cbd8c0-af92-45ee-8a40-b205b2df66c8" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_7afe9aa4-ddf7-44e1-978a-0ce0ca531978" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireShortTermInvestments_f8378968-5a02-4e35-a12a-ce2c40a7d16a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireShortTermInvestments"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_7afe9aa4-ddf7-44e1-978a-0ce0ca531978" xlink:to="loc_us-gaap_PaymentsToAcquireShortTermInvestments_f8378968-5a02-4e35-a12a-ce2c40a7d16a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_9036d141-9705-4c31-9342-18228a9bbd60" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_7afe9aa4-ddf7-44e1-978a-0ce0ca531978" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_9036d141-9705-4c31-9342-18228a9bbd60" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfShortTermInvestments_c0b8e6e8-89d4-4af5-97bf-ae06e8f387bb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleOfShortTermInvestments"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_7afe9aa4-ddf7-44e1-978a-0ce0ca531978" xlink:to="loc_us-gaap_ProceedsFromSaleOfShortTermInvestments_c0b8e6e8-89d4-4af5-97bf-ae06e8f387bb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_af133ccf-9e95-47b3-82d2-ca7dc3d3907d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_7afe9aa4-ddf7-44e1-978a-0ce0ca531978" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_af133ccf-9e95-47b3-82d2-ca7dc3d3907d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_afeeb87b-168e-4905-a20c-63e92a9c76ef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_7afe9aa4-ddf7-44e1-978a-0ce0ca531978" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_afeeb87b-168e-4905-a20c-63e92a9c76ef" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4103527b-7dbc-4b54-b9d6-1da9612629b6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_7afe9aa4-ddf7-44e1-978a-0ce0ca531978" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4103527b-7dbc-4b54-b9d6-1da9612629b6" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_0ee6ff45-8d8d-425b-bd8d-cfa94558eb28" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfCashFlowsAbstract_03cbd8c0-af92-45ee-8a40-b205b2df66c8" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_0ee6ff45-8d8d-425b-bd8d-cfa94558eb28" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_23f56c84-a9bf-4eba-9ac9-bceb207ecaf7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_0ee6ff45-8d8d-425b-bd8d-cfa94558eb28" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_23f56c84-a9bf-4eba-9ac9-bceb207ecaf7" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromWarrantExercises_e505f5e1-e961-4afd-8f86-23f85938e5d4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromWarrantExercises"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_0ee6ff45-8d8d-425b-bd8d-cfa94558eb28" xlink:to="loc_us-gaap_ProceedsFromWarrantExercises_e505f5e1-e961-4afd-8f86-23f85938e5d4" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_aaa572cf-f5ce-4ec8-a98c-5b8fe151dc24" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_0ee6ff45-8d8d-425b-bd8d-cfa94558eb28" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_aaa572cf-f5ce-4ec8-a98c-5b8fe151dc24" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_77e5abf1-a386-4dc5-9094-48bdedd5aa6b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_0ee6ff45-8d8d-425b-bd8d-cfa94558eb28" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_77e5abf1-a386-4dc5-9094-48bdedd5aa6b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_8367caa3-0ef9-4d9a-a360-55d7123f284a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_0ee6ff45-8d8d-425b-bd8d-cfa94558eb28" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_8367caa3-0ef9-4d9a-a360-55d7123f284a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_41d40704-eee4-40c7-906c-48ad0fc54bb7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_0ee6ff45-8d8d-425b-bd8d-cfa94558eb28" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_41d40704-eee4-40c7-906c-48ad0fc54bb7" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_3a0059be-f910-4cd2-b2b1-a84a89f33896" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfCashFlowsAbstract_03cbd8c0-af92-45ee-8a40-b205b2df66c8" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_3a0059be-f910-4cd2-b2b1-a84a89f33896" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_499f18f6-d852-44b1-b9bd-8f6952be02fb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfCashFlowsAbstract_03cbd8c0-af92-45ee-8a40-b205b2df66c8" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_499f18f6-d852-44b1-b9bd-8f6952be02fb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_64e2fd17-5335-446d-b041-7e879fe7b99c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfCashFlowsAbstract_03cbd8c0-af92-45ee-8a40-b205b2df66c8" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_64e2fd17-5335-446d-b041-7e879fe7b99c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SupplementalCashFlowInformationAbstract_522be55c-9f1a-4d51-83fa-c8d737c05af3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SupplementalCashFlowInformationAbstract"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfCashFlowsAbstract_03cbd8c0-af92-45ee-8a40-b205b2df66c8" xlink:to="loc_us-gaap_SupplementalCashFlowInformationAbstract_522be55c-9f1a-4d51-83fa-c8d737c05af3" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPaidNet_ed17a102-5c9c-4f80-85a6-50160557921d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestPaidNet"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_522be55c-9f1a-4d51-83fa-c8d737c05af3" xlink:to="loc_us-gaap_InterestPaidNet_ed17a102-5c9c-4f80-85a6-50160557921d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesPaidNet_448fee50-ab02-46fb-9cb1-8bc8722594c9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxesPaidNet"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_522be55c-9f1a-4d51-83fa-c8d737c05af3" xlink:to="loc_us-gaap_IncomeTaxesPaidNet_448fee50-ab02-46fb-9cb1-8bc8722594c9" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/OrganizationandBasisofPresentation" xlink:type="simple" xlink:href="nmih-20231231.xsd#OrganizationandBasisofPresentation"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/OrganizationandBasisofPresentation" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_1c30ad71-2605-4e98-97d9-3b5166eb4c90" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessDescriptionAndBasisOfPresentationTextBlock_40f14ec0-5eaa-4d90-b402-e51feb710445" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessDescriptionAndBasisOfPresentationTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_1c30ad71-2605-4e98-97d9-3b5166eb4c90" xlink:to="loc_us-gaap_BusinessDescriptionAndBasisOfPresentationTextBlock_40f14ec0-5eaa-4d90-b402-e51feb710445" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/SummaryofAccountingPrinciples" xlink:type="simple" xlink:href="nmih-20231231.xsd#SummaryofAccountingPrinciples"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/SummaryofAccountingPrinciples" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountingPoliciesAbstract_1efce5e6-e8af-4b9f-9102-c25b7afb229b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SignificantAccountingPoliciesTextBlock_78559d1e-5951-46a6-9335-558550cd0c78" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SignificantAccountingPoliciesTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_1efce5e6-e8af-4b9f-9102-c25b7afb229b" xlink:to="loc_us-gaap_SignificantAccountingPoliciesTextBlock_78559d1e-5951-46a6-9335-558550cd0c78" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/Investments" xlink:type="simple" xlink:href="nmih-20231231.xsd#Investments"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/Investments" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_4a675b4a-35b3-46a3-b28d-6350256b4b5b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock_3ab6c8e4-60b7-4dd1-b449-ac86155e5396" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_4a675b4a-35b3-46a3-b28d-6350256b4b5b" xlink:to="loc_us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock_3ab6c8e4-60b7-4dd1-b449-ac86155e5396" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/FairValueofFinancialInstruments" xlink:type="simple" xlink:href="nmih-20231231.xsd#FairValueofFinancialInstruments"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/FairValueofFinancialInstruments" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosuresAbstract_420415a8-1d69-4a57-b453-db06dc85267d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueDisclosuresAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosuresTextBlock_67841485-b7b8-4ffa-8c62-c556b660846a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueDisclosuresTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueDisclosuresAbstract_420415a8-1d69-4a57-b453-db06dc85267d" xlink:to="loc_us-gaap_FairValueDisclosuresTextBlock_67841485-b7b8-4ffa-8c62-c556b660846a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/Debt" xlink:type="simple" xlink:href="nmih-20231231.xsd#Debt"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/Debt" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtDisclosureAbstract_21b7e061-65d1-4dde-b293-e5d2660185fe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtDisclosureTextBlock_a16d7431-7785-43f6-b1b5-ce14af4ae011" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtDisclosureTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtDisclosureAbstract_21b7e061-65d1-4dde-b293-e5d2660185fe" xlink:to="loc_us-gaap_DebtDisclosureTextBlock_a16d7431-7785-43f6-b1b5-ce14af4ae011" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/Reinsurance" xlink:type="simple" xlink:href="nmih-20231231.xsd#Reinsurance"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/Reinsurance" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReinsuranceDisclosuresAbstract_352efbd4-d3b9-4c61-a312-786d9da7d68c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReinsuranceDisclosuresAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReinsuranceTextBlock_bb1dab42-432e-4cf6-824f-1c2302a93a43" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReinsuranceTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReinsuranceDisclosuresAbstract_352efbd4-d3b9-4c61-a312-786d9da7d68c" xlink:to="loc_us-gaap_ReinsuranceTextBlock_bb1dab42-432e-4cf6-824f-1c2302a93a43" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/ReserveforInsuranceClaimsandClaimExpenses" xlink:type="simple" xlink:href="nmih-20231231.xsd#ReserveforInsuranceClaimsandClaimExpenses"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/ReserveforInsuranceClaimsandClaimExpenses" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InsuranceAbstract_9ba18b30-b9cf-41e4-966a-b9cc022ab261" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InsuranceAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityForFuturePolicyBenefitsAndUnpaidClaimsDisclosureTextBlock_cb5effb4-446d-4c99-a716-2efbeea20178" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilityForFuturePolicyBenefitsAndUnpaidClaimsDisclosureTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InsuranceAbstract_9ba18b30-b9cf-41e4-966a-b9cc022ab261" xlink:to="loc_us-gaap_LiabilityForFuturePolicyBenefitsAndUnpaidClaimsDisclosureTextBlock_cb5effb4-446d-4c99-a716-2efbeea20178" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/EarningsperShare" xlink:type="simple" xlink:href="nmih-20231231.xsd#EarningsperShare"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/EarningsperShare" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareAbstract_e9e3ce63-8cc7-4494-9c7c-3d428c3d01eb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareTextBlock_23ce4d03-ecf6-48fe-b0af-2f361cb7c3df" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_e9e3ce63-8cc7-4494-9c7c-3d428c3d01eb" xlink:to="loc_us-gaap_EarningsPerShareTextBlock_23ce4d03-ecf6-48fe-b0af-2f361cb7c3df" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/ShareBasedCompensation" xlink:type="simple" xlink:href="nmih-20231231.xsd#ShareBasedCompensation"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/ShareBasedCompensation" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_196f958f-ded0-4ff1-888e-803fc38b93bc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock_3d055339-950e-4a81-a4b6-073e988a48e7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_196f958f-ded0-4ff1-888e-803fc38b93bc" xlink:to="loc_us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock_3d055339-950e-4a81-a4b6-073e988a48e7" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/IncomeTaxes" xlink:type="simple" xlink:href="nmih-20231231.xsd#IncomeTaxes"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/IncomeTaxes" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxDisclosureAbstract_10550606-0d3f-4476-b380-b349d68eccfc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxDisclosureTextBlock_1b477b1f-70bc-4663-a004-4bfcd5cf692c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxDisclosureTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_10550606-0d3f-4476-b380-b349d68eccfc" xlink:to="loc_us-gaap_IncomeTaxDisclosureTextBlock_1b477b1f-70bc-4663-a004-4bfcd5cf692c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/SoftwareandEquipment" xlink:type="simple" xlink:href="nmih-20231231.xsd#SoftwareandEquipment"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/SoftwareandEquipment" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAbstract_38c84236-8f7f-4600-b95e-036ca25f3af5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock_6dbf5baf-cdb3-43f3-82ed-55b3c37b8a10" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAbstract_38c84236-8f7f-4600-b95e-036ca25f3af5" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock_6dbf5baf-cdb3-43f3-82ed-55b3c37b8a10" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/IntangibleAssetsandGoodwill" xlink:type="simple" xlink:href="nmih-20231231.xsd#IntangibleAssetsandGoodwill"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/IntangibleAssetsandGoodwill" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_30b1b91f-fc63-45ce-8eb6-d43d57b6c579" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsDisclosureTextBlock_c98de72e-0b14-4a4d-85c9-153cd4652514" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsDisclosureTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_30b1b91f-fc63-45ce-8eb6-d43d57b6c579" xlink:to="loc_us-gaap_IntangibleAssetsDisclosureTextBlock_c98de72e-0b14-4a4d-85c9-153cd4652514" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/Leases" xlink:type="simple" xlink:href="nmih-20231231.xsd#Leases"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/Leases" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeasesAbstract_334c2acd-0d6c-4ed9-81da-1c6ce392a5b9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LeasesAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeasesTextBlock_f0ac3a3c-de79-4c7e-b7af-7c829f2a727f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeasesTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_334c2acd-0d6c-4ed9-81da-1c6ce392a5b9" xlink:to="loc_us-gaap_LesseeOperatingLeasesTextBlock_f0ac3a3c-de79-4c7e-b7af-7c829f2a727f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeFinanceLeasesTextBlock_df3d1df1-faa1-47d9-91b5-0025f66265ea" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeFinanceLeasesTextBlock"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_334c2acd-0d6c-4ed9-81da-1c6ce392a5b9" xlink:to="loc_us-gaap_LesseeFinanceLeasesTextBlock_df3d1df1-faa1-47d9-91b5-0025f66265ea" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/CommitmentsandContingencies" xlink:type="simple" xlink:href="nmih-20231231.xsd#CommitmentsandContingencies"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/CommitmentsandContingencies" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingenciesDisclosureAbstract_43b8cdc0-3a0a-495d-8d61-cfc5120827b9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_f9e32957-4abd-44d8-a99a-b5d897b644a6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommitmentsAndContingenciesDisclosureTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CommitmentsAndContingenciesDisclosureAbstract_43b8cdc0-3a0a-495d-8d61-cfc5120827b9" xlink:to="loc_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_f9e32957-4abd-44d8-a99a-b5d897b644a6" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/CommonStock" xlink:type="simple" xlink:href="nmih-20231231.xsd#CommonStock"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/CommonStock" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityAbstract_ab8e0ce3-d51d-40c2-9c0d-95e06954f35f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityNoteDisclosureTextBlock_5772d66b-8cc4-4638-a499-f15a941cdee4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquityNoteDisclosureTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityAbstract_ab8e0ce3-d51d-40c2-9c0d-95e06954f35f" xlink:to="loc_us-gaap_StockholdersEquityNoteDisclosureTextBlock_5772d66b-8cc4-4638-a499-f15a941cdee4" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/RegulatoryInformation" xlink:type="simple" xlink:href="nmih-20231231.xsd#RegulatoryInformation"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/RegulatoryInformation" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InsuranceAbstract_502d07b6-4e66-43f2-a038-6c483da8e4fc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InsuranceAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InsuranceDisclosureTextBlock_3e148b58-c3c6-4906-9400-5131e015b9f4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InsuranceDisclosureTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InsuranceAbstract_502d07b6-4e66-43f2-a038-6c483da8e4fc" xlink:to="loc_us-gaap_InsuranceDisclosureTextBlock_3e148b58-c3c6-4906-9400-5131e015b9f4" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/QuarterlyFinancialDataUnaudited" xlink:type="simple" xlink:href="nmih-20231231.xsd#QuarterlyFinancialDataUnaudited"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/QuarterlyFinancialDataUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_QuarterlyFinancialInformationDisclosureAbstract_8a821d3d-1f1f-47fe-b52a-526051b2f48d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_QuarterlyFinancialInformationDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_QuarterlyFinancialInformationTextBlock_64fe45ce-02cf-49e7-a4ae-c5d3a83f6390" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_QuarterlyFinancialInformationTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_QuarterlyFinancialInformationDisclosureAbstract_8a821d3d-1f1f-47fe-b52a-526051b2f48d" xlink:to="loc_us-gaap_QuarterlyFinancialInformationTextBlock_64fe45ce-02cf-49e7-a4ae-c5d3a83f6390" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/Subsequentevents" xlink:type="simple" xlink:href="nmih-20231231.xsd#Subsequentevents"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/Subsequentevents" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventsAbstract_66190663-4f56-44b0-9d91-e848b880997b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventsAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventsTextBlock_3b96dbe7-7390-4f0a-b0a7-7c20cd615147" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventsTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventsAbstract_66190663-4f56-44b0-9d91-e848b880997b" xlink:to="loc_us-gaap_SubsequentEventsTextBlock_3b96dbe7-7390-4f0a-b0a7-7c20cd615147" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/SCHEDULEISUMMARYOFINVESTMENTSOTHERTHANINVESTMENTSINRELATEDPARTIES" xlink:type="simple" xlink:href="nmih-20231231.xsd#SCHEDULEISUMMARYOFINVESTMENTSOTHERTHANINVESTMENTSINRELATEDPARTIES"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/SCHEDULEISUMMARYOFINVESTMENTSOTHERTHANINVESTMENTSINRELATEDPARTIES" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesAbstract_dd693fb6-6bca-4c23-b9ad-efb16f0a1e5c" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesTextBlock_65ebc0bb-81d4-466d-abea-450857bf0775" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesAbstract_dd693fb6-6bca-4c23-b9ad-efb16f0a1e5c" xlink:to="loc_srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesTextBlock_65ebc0bb-81d4-466d-abea-450857bf0775" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/SCHEDULEIIFINANCIALINFORMATIONOFREGISTRANTPARENTCOMPANYONLY" xlink:type="simple" xlink:href="nmih-20231231.xsd#SCHEDULEIIFINANCIALINFORMATIONOFREGISTRANTPARENTCOMPANYONLY"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/SCHEDULEIIFINANCIALINFORMATIONOFREGISTRANTPARENTCOMPANYONLY" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract_a186ef27-125e-4386-8e9c-058ade2247f9" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock_5eb07b1c-c746-4c77-86d6-8f0faacdad39" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract_a186ef27-125e-4386-8e9c-058ade2247f9" xlink:to="loc_us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock_5eb07b1c-c746-4c77-86d6-8f0faacdad39" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/SCHEDULEIVFINANCIALINFORMATIONOFREGISTRANTREINSURANCE" xlink:type="simple" xlink:href="nmih-20231231.xsd#SCHEDULEIVFINANCIALINFORMATIONOFREGISTRANTREINSURANCE"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/SCHEDULEIVFINANCIALINFORMATIONOFREGISTRANTREINSURANCE" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_srt_SupplementalScheduleOfReinsurancePremiumsForInsuranceCompaniesAbstract_d55f506a-493e-4129-92d9-3627b80b997f" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SupplementalScheduleOfReinsurancePremiumsForInsuranceCompaniesAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SupplementalScheduleOfReinsurancePremiumsForInsuranceCompaniesTextBlock_61b2cd08-10cf-48a7-837b-5a93317d6307" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SupplementalScheduleOfReinsurancePremiumsForInsuranceCompaniesTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_SupplementalScheduleOfReinsurancePremiumsForInsuranceCompaniesAbstract_d55f506a-493e-4129-92d9-3627b80b997f" xlink:to="loc_srt_SupplementalScheduleOfReinsurancePremiumsForInsuranceCompaniesTextBlock_61b2cd08-10cf-48a7-837b-5a93317d6307" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/SummaryofAccountingPrinciplesPolicies" xlink:type="simple" xlink:href="nmih-20231231.xsd#SummaryofAccountingPrinciplesPolicies"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/SummaryofAccountingPrinciplesPolicies" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountingPoliciesAbstract_401cfef2-a9c9-4f64-a733-707f84a6c2f4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BasisOfAccountingPolicyPolicyTextBlock_bb978af1-14ea-4f99-b3fe-77b0cc9e4bb8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BasisOfAccountingPolicyPolicyTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_401cfef2-a9c9-4f64-a733-707f84a6c2f4" xlink:to="loc_us-gaap_BasisOfAccountingPolicyPolicyTextBlock_bb978af1-14ea-4f99-b3fe-77b0cc9e4bb8" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UseOfEstimates_dba930dc-bb35-4fa2-aedf-a1a5f249828d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UseOfEstimates"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_401cfef2-a9c9-4f64-a733-707f84a6c2f4" xlink:to="loc_us-gaap_UseOfEstimates_dba930dc-bb35-4fa2-aedf-a1a5f249828d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InsurancePremiumsRevenueRecognitionPolicy_653b3dc8-27a0-4101-ad21-3baf9f14d114" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InsurancePremiumsRevenueRecognitionPolicy"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_401cfef2-a9c9-4f64-a733-707f84a6c2f4" xlink:to="loc_us-gaap_InsurancePremiumsRevenueRecognitionPolicy_653b3dc8-27a0-4101-ad21-3baf9f14d114" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityReserveEstimatePolicy_1a326299-bd35-467d-bf49-26cc6a5ef448" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilityReserveEstimatePolicy"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_401cfef2-a9c9-4f64-a733-707f84a6c2f4" xlink:to="loc_us-gaap_LiabilityReserveEstimatePolicy_1a326299-bd35-467d-bf49-26cc6a5ef448" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesPolicy_f96e8070-4728-4d6e-b122-7c45e2ac4bbf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MarketableSecuritiesPolicy"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_401cfef2-a9c9-4f64-a733-707f84a6c2f4" xlink:to="loc_us-gaap_MarketableSecuritiesPolicy_f96e8070-4728-4d6e-b122-7c45e2ac4bbf" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizationOfDeferredPolicyAcquisitionCostsPolicy_07a28d01-523b-43a3-a0ff-a62fc7beb167" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CapitalizationOfDeferredPolicyAcquisitionCostsPolicy"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_401cfef2-a9c9-4f64-a733-707f84a6c2f4" xlink:to="loc_us-gaap_CapitalizationOfDeferredPolicyAcquisitionCostsPolicy_07a28d01-523b-43a3-a0ff-a62fc7beb167" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_PremiumDeficiencyReservesPolicyPolicyTextBlock_0ee12c30-0fcb-4ba9-93ff-b165b53276b9" xlink:href="nmih-20231231.xsd#nmih_PremiumDeficiencyReservesPolicyPolicyTextBlock"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_401cfef2-a9c9-4f64-a733-707f84a6c2f4" xlink:to="loc_nmih_PremiumDeficiencyReservesPolicyPolicyTextBlock_0ee12c30-0fcb-4ba9-93ff-b165b53276b9" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReinsuranceAccountingPolicy_1c368745-ad2b-4ab4-87aa-377773912e78" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReinsuranceAccountingPolicy"/>
    <link:presentationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_401cfef2-a9c9-4f64-a733-707f84a6c2f4" xlink:to="loc_us-gaap_ReinsuranceAccountingPolicy_1c368745-ad2b-4ab4-87aa-377773912e78" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConsolidationVariableInterestEntityPolicy_91ff7643-ca55-42ce-ba46-4a2d52f8f86c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConsolidationVariableInterestEntityPolicy"/>
    <link:presentationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_401cfef2-a9c9-4f64-a733-707f84a6c2f4" xlink:to="loc_us-gaap_ConsolidationVariableInterestEntityPolicy_91ff7643-ca55-42ce-ba46-4a2d52f8f86c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxPolicyTextBlock_68453982-3df4-4b46-87b3-a3fecc62440c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxPolicyTextBlock"/>
    <link:presentationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_401cfef2-a9c9-4f64-a733-707f84a6c2f4" xlink:to="loc_us-gaap_IncomeTaxPolicyTextBlock_68453982-3df4-4b46-87b3-a3fecc62440c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy_aa5f7c05-150a-4b26-9518-634c21a97436" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy"/>
    <link:presentationArc order="11" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_401cfef2-a9c9-4f64-a733-707f84a6c2f4" xlink:to="loc_us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy_aa5f7c05-150a-4b26-9518-634c21a97436" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerSharePolicyTextBlock_103e0628-7d97-4ea1-a1a6-b86950cdef79" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerSharePolicyTextBlock"/>
    <link:presentationArc order="12" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_401cfef2-a9c9-4f64-a733-707f84a6c2f4" xlink:to="loc_us-gaap_EarningsPerSharePolicyTextBlock_103e0628-7d97-4ea1-a1a6-b86950cdef79" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityPolicyTextBlock_75d33dd1-e622-47be-95ee-180c785fd6bc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquityPolicyTextBlock"/>
    <link:presentationArc order="13" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_401cfef2-a9c9-4f64-a733-707f84a6c2f4" xlink:to="loc_us-gaap_StockholdersEquityPolicyTextBlock_75d33dd1-e622-47be-95ee-180c785fd6bc" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsPolicyTextBlock_a8adedeb-d473-4cef-a740-8067ee7fcc4b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsPolicyTextBlock"/>
    <link:presentationArc order="14" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_401cfef2-a9c9-4f64-a733-707f84a6c2f4" xlink:to="loc_us-gaap_CashAndCashEquivalentsPolicyTextBlock_a8adedeb-d473-4cef-a740-8067ee7fcc4b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentPolicyTextBlock_7a3bb09b-16a0-490a-845b-b226828aadd0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentPolicyTextBlock"/>
    <link:presentationArc order="15" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_401cfef2-a9c9-4f64-a733-707f84a6c2f4" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentPolicyTextBlock_7a3bb09b-16a0-490a-845b-b226828aadd0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeasesPolicyTextBlock_be113f12-4519-4c5b-a866-9c8174c5e641" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeLeasesPolicyTextBlock"/>
    <link:presentationArc order="16" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_401cfef2-a9c9-4f64-a733-707f84a6c2f4" xlink:to="loc_us-gaap_LesseeLeasesPolicyTextBlock_be113f12-4519-4c5b-a866-9c8174c5e641" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetsPolicyTextBlock_c27f70f4-df56-40b2-9b21-64bdbfcc10cb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GoodwillAndIntangibleAssetsPolicyTextBlock"/>
    <link:presentationArc order="17" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_401cfef2-a9c9-4f64-a733-707f84a6c2f4" xlink:to="loc_us-gaap_GoodwillAndIntangibleAssetsPolicyTextBlock_c27f70f4-df56-40b2-9b21-64bdbfcc10cb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PremiumsReceivableBasisOfAccountingPolicy_57490e63-68e3-4051-a239-60bd6cfc117c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PremiumsReceivableBasisOfAccountingPolicy"/>
    <link:presentationArc order="18" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_401cfef2-a9c9-4f64-a733-707f84a6c2f4" xlink:to="loc_us-gaap_PremiumsReceivableBasisOfAccountingPolicy_57490e63-68e3-4051-a239-60bd6cfc117c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRecognitionPolicyTextBlock_07a574f2-b5be-4ed8-8683-b8e30cc6ea0f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueRecognitionPolicyTextBlock"/>
    <link:presentationArc order="19" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_401cfef2-a9c9-4f64-a733-707f84a6c2f4" xlink:to="loc_us-gaap_RevenueRecognitionPolicyTextBlock_07a574f2-b5be-4ed8-8683-b8e30cc6ea0f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock_ca5a5ecd-9dda-4887-bc74-c28777d805c3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock"/>
    <link:presentationArc order="20" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_401cfef2-a9c9-4f64-a733-707f84a6c2f4" xlink:to="loc_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock_ca5a5ecd-9dda-4887-bc74-c28777d805c3" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOfFinancialInstrumentsPolicy_5cb1bd7d-4818-4958-adb4-87544f01a1dc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueOfFinancialInstrumentsPolicy"/>
    <link:presentationArc order="21" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_401cfef2-a9c9-4f64-a733-707f84a6c2f4" xlink:to="loc_us-gaap_FairValueOfFinancialInstrumentsPolicy_5cb1bd7d-4818-4958-adb4-87544f01a1dc" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/InvestmentsTables" xlink:type="simple" xlink:href="nmih-20231231.xsd#InvestmentsTables"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/InvestmentsTables" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_ebd4862c-f5ff-43ca-8b7e-6ca3bb920cc9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTableTextBlock_5b1f2b16-435a-4fd5-9e3b-a0145e25e7ee" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleTableTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_ebd4862c-f5ff-43ca-8b7e-6ca3bb920cc9" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTableTextBlock_5b1f2b16-435a-4fd5-9e3b-a0145e25e7ee" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_InvestmentsClassifiedByIssuerIndustryGroupTableTextBlock_06192de0-26a4-4243-b0ba-20b8bc91d41c" xlink:href="nmih-20231231.xsd#nmih_InvestmentsClassifiedByIssuerIndustryGroupTableTextBlock"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_ebd4862c-f5ff-43ca-8b7e-6ca3bb920cc9" xlink:to="loc_nmih_InvestmentsClassifiedByIssuerIndustryGroupTableTextBlock_06192de0-26a4-4243-b0ba-20b8bc91d41c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock_8d7a6fe3-fbae-4a82-a770-6b0697e7b122" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_ebd4862c-f5ff-43ca-8b7e-6ca3bb920cc9" xlink:to="loc_us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock_8d7a6fe3-fbae-4a82-a770-6b0697e7b122" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock_c35fa361-3f0b-4881-a93f-5f8727ec1f7f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_ebd4862c-f5ff-43ca-8b7e-6ca3bb920cc9" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock_c35fa361-3f0b-4881-a93f-5f8727ec1f7f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeTextBlock_82921133-2110-43f6-89e8-4403e402deb1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIncomeTextBlock"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_ebd4862c-f5ff-43ca-8b7e-6ca3bb920cc9" xlink:to="loc_us-gaap_InvestmentIncomeTextBlock_82921133-2110-43f6-89e8-4403e402deb1" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedGainLossOnInvestmentsTableTextBlock_68be4bd3-f630-42eb-8731-a3d8f50f493b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RealizedGainLossOnInvestmentsTableTextBlock"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_ebd4862c-f5ff-43ca-8b7e-6ca3bb920cc9" xlink:to="loc_us-gaap_RealizedGainLossOnInvestmentsTableTextBlock_68be4bd3-f630-42eb-8731-a3d8f50f493b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/FairValueofFinancialInstrumentsTables" xlink:type="simple" xlink:href="nmih-20231231.xsd#FairValueofFinancialInstrumentsTables"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/FairValueofFinancialInstrumentsTables" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosuresAbstract_3c3696ce-d1cb-4566-9d24-1c996ab6f533" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueDisclosuresAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock_9c5abce0-e17c-4c4a-900f-54a7f213be99" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueDisclosuresAbstract_3c3696ce-d1cb-4566-9d24-1c996ab6f533" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock_9c5abce0-e17c-4c4a-900f-54a7f213be99" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/ReinsuranceTables" xlink:type="simple" xlink:href="nmih-20231231.xsd#ReinsuranceTables"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/ReinsuranceTables" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReinsuranceDisclosuresAbstract_e2feb503-1fb1-45c2-8e63-ad797799d0f3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReinsuranceDisclosuresAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectsOfReinsuranceTableTextBlock_b7a346c1-8f2f-4776-9fc5-129ad06b9a64" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectsOfReinsuranceTableTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReinsuranceDisclosuresAbstract_e2feb503-1fb1-45c2-8e63-ad797799d0f3" xlink:to="loc_us-gaap_EffectsOfReinsuranceTableTextBlock_b7a346c1-8f2f-4776-9fc5-129ad06b9a64" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_ScheduleOfRespectiveCoveragesAndRetentions0fTheILNTransactionsTableTextBlock_a5e8aa1b-5dfc-46b0-b6e9-efa4e8699b45" xlink:href="nmih-20231231.xsd#nmih_ScheduleOfRespectiveCoveragesAndRetentions0fTheILNTransactionsTableTextBlock"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReinsuranceDisclosuresAbstract_e2feb503-1fb1-45c2-8e63-ad797799d0f3" xlink:to="loc_nmih_ScheduleOfRespectiveCoveragesAndRetentions0fTheILNTransactionsTableTextBlock_a5e8aa1b-5dfc-46b0-b6e9-efa4e8699b45" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_ScheduleOfRespectiveCoveragesAndRetentionsOfTheXOLTransactionsTableTextBlock_40144333-e432-4a0e-bdb6-a5714c0b4a28" xlink:href="nmih-20231231.xsd#nmih_ScheduleOfRespectiveCoveragesAndRetentionsOfTheXOLTransactionsTableTextBlock"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReinsuranceDisclosuresAbstract_e2feb503-1fb1-45c2-8e63-ad797799d0f3" xlink:to="loc_nmih_ScheduleOfRespectiveCoveragesAndRetentionsOfTheXOLTransactionsTableTextBlock_40144333-e432-4a0e-bdb6-a5714c0b4a28" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/ReservesforInsuranceClaimsandClaimExpensesTables" xlink:type="simple" xlink:href="nmih-20231231.xsd#ReservesforInsuranceClaimsandClaimExpensesTables"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/ReservesforInsuranceClaimsandClaimExpensesTables" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InsuranceAbstract_f9f23c85-a23e-4329-93b1-96cee07cc467" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InsuranceAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfLiabilityForUnpaidClaimsAndClaimsAdjustmentExpense_63a9cb75-b599-4aaa-aebd-a51202541643" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfLiabilityForUnpaidClaimsAndClaimsAdjustmentExpense"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InsuranceAbstract_f9f23c85-a23e-4329-93b1-96cee07cc467" xlink:to="loc_us-gaap_ScheduleOfLiabilityForUnpaidClaimsAndClaimsAdjustmentExpense_63a9cb75-b599-4aaa-aebd-a51202541643" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsClaimsDevelopmentTableTextBlock_67b4dd36-7d6c-4a8c-a5b0-af95ff801eea" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsClaimsDevelopmentTableTextBlock"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InsuranceAbstract_f9f23c85-a23e-4329-93b1-96cee07cc467" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsClaimsDevelopmentTableTextBlock_67b4dd36-7d6c-4a8c-a5b0-af95ff801eea" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityTableTextBlock_b41748dd-eda5-4446-8cc8-15bc2149cac6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityTableTextBlock"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InsuranceAbstract_f9f23c85-a23e-4329-93b1-96cee07cc467" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityTableTextBlock_b41748dd-eda5-4446-8cc8-15bc2149cac6" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsScheduleOfHistoricalClaimsDurationTableTextBlock_a20306bc-da60-482c-b719-bbbc4db86d39" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsScheduleOfHistoricalClaimsDurationTableTextBlock"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InsuranceAbstract_f9f23c85-a23e-4329-93b1-96cee07cc467" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsScheduleOfHistoricalClaimsDurationTableTextBlock_a20306bc-da60-482c-b719-bbbc4db86d39" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/EarningsperShareTables" xlink:type="simple" xlink:href="nmih-20231231.xsd#EarningsperShareTables"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/EarningsperShareTables" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareAbstract_2dde23a4-4f2b-4e60-b5ce-7371d629cebb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_03c85635-2666-40dd-bff9-8c579efc6f59" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_2dde23a4-4f2b-4e60-b5ce-7371d629cebb" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_03c85635-2666-40dd-bff9-8c579efc6f59" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/ShareBasedCompensationTables" xlink:type="simple" xlink:href="nmih-20231231.xsd#ShareBasedCompensationTables"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/ShareBasedCompensationTables" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_e66146a6-c77f-44a4-9870-ee5a47f1cf12" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock_40a444ef-f5b4-49a7-9b8d-6114c2503e34" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_e66146a6-c77f-44a4-9870-ee5a47f1cf12" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock_40a444ef-f5b4-49a7-9b8d-6114c2503e34" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock_42bb9836-948b-44dd-a967-579c609653b4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_e66146a6-c77f-44a4-9870-ee5a47f1cf12" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock_42bb9836-948b-44dd-a967-579c609653b4" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/IncomeTaxesTables" xlink:type="simple" xlink:href="nmih-20231231.xsd#IncomeTaxesTables"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/IncomeTaxesTables" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxDisclosureAbstract_ed51b94c-0ebf-4463-a77d-38147bf4280d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock_8c30f794-b8b7-48d8-b48f-cbd7408f2303" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_ed51b94c-0ebf-4463-a77d-38147bf4280d" xlink:to="loc_us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock_8c30f794-b8b7-48d8-b48f-cbd7408f2303" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock_00b45ea5-aa73-4349-9334-c2e2957094e1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_ed51b94c-0ebf-4463-a77d-38147bf4280d" xlink:to="loc_us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock_00b45ea5-aa73-4349-9334-c2e2957094e1" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock_5685e3c3-343f-41cb-804d-5b315094d2bf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_ed51b94c-0ebf-4463-a77d-38147bf4280d" xlink:to="loc_us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock_5685e3c3-343f-41cb-804d-5b315094d2bf" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/SoftwareandEquipmentTables" xlink:type="simple" xlink:href="nmih-20231231.xsd#SoftwareandEquipmentTables"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/SoftwareandEquipmentTables" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAbstract_6496b072-7f0c-4f96-ad0b-f31432085609" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTextBlock_e3c73d6f-f8d7-45a8-96ac-f1599492afc4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAbstract_6496b072-7f0c-4f96-ad0b-f31432085609" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTextBlock_e3c73d6f-f8d7-45a8-96ac-f1599492afc4" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/IntangibleAssetsandGoodwillTables" xlink:type="simple" xlink:href="nmih-20231231.xsd#IntangibleAssetsandGoodwillTables"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/IntangibleAssetsandGoodwillTables" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_10ef261a-8009-49e3-b64e-885d3c12da24" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsTableTextBlock_4c6f7d4c-120f-4d6e-b5b2-c066f99ce53f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsTableTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_10ef261a-8009-49e3-b64e-885d3c12da24" xlink:to="loc_us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsTableTextBlock_4c6f7d4c-120f-4d6e-b5b2-c066f99ce53f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/LeasesTables" xlink:type="simple" xlink:href="nmih-20231231.xsd#LeasesTables"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/LeasesTables" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeasesAbstract_f03a2d62-8445-4bda-b92a-59b740b33ba8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LeasesAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCostTableTextBlock_fca71262-a08a-440c-a3b4-21ebc546039e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LeaseCostTableTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_f03a2d62-8445-4bda-b92a-59b740b33ba8" xlink:to="loc_us-gaap_LeaseCostTableTextBlock_fca71262-a08a-440c-a3b4-21ebc546039e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock_eb2f44ff-b8b5-4565-be92-f17f1b5db1a0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_f03a2d62-8445-4bda-b92a-59b740b33ba8" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock_eb2f44ff-b8b5-4565-be92-f17f1b5db1a0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/RegulatoryInformationTables" xlink:type="simple" xlink:href="nmih-20231231.xsd#RegulatoryInformationTables"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/RegulatoryInformationTables" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InsuranceAbstract_764117a1-ca04-4578-a4ac-0ba39846d1c1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InsuranceAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatutoryAccountingPracticesDisclosureTextBlock_475f39bf-0542-4e81-a5c5-f084376d5e87" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatutoryAccountingPracticesDisclosureTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InsuranceAbstract_764117a1-ca04-4578-a4ac-0ba39846d1c1" xlink:to="loc_us-gaap_StatutoryAccountingPracticesDisclosureTextBlock_475f39bf-0542-4e81-a5c5-f084376d5e87" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/QuarterlyFinancialDataUnauditedTables" xlink:type="simple" xlink:href="nmih-20231231.xsd#QuarterlyFinancialDataUnauditedTables"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/QuarterlyFinancialDataUnauditedTables" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_QuarterlyFinancialInformationDisclosureAbstract_727e6368-38d1-469e-940a-34584147f9df" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_QuarterlyFinancialInformationDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfQuarterlyFinancialInformationTableTextBlock_10bc90e8-a775-4e85-a14e-3d232bac2597" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfQuarterlyFinancialInformationTableTextBlock"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_QuarterlyFinancialInformationDisclosureAbstract_727e6368-38d1-469e-940a-34584147f9df" xlink:to="loc_us-gaap_ScheduleOfQuarterlyFinancialInformationTableTextBlock_10bc90e8-a775-4e85-a14e-3d232bac2597" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/OrganizationandBasisofPresentationDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#OrganizationandBasisofPresentationDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/OrganizationandBasisofPresentationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_fbc1afd1-2376-4a09-9627-ef2d1204b24c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfStatesInWhichEntityOperates_14400876-5f30-468e-b190-26a2a3777ea5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NumberOfStatesInWhichEntityOperates"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_fbc1afd1-2376-4a09-9627-ef2d1204b24c" xlink:to="loc_us-gaap_NumberOfStatesInWhichEntityOperates_14400876-5f30-468e-b190-26a2a3777ea5" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/SummaryofAccountingPrinciplesDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#SummaryofAccountingPrinciplesDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/SummaryofAccountingPrinciplesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountingPoliciesAbstract_f11d13b7-0982-4af6-b639-8b2811c637fc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_1a98d025-9c4c-42fa-992c-2690194b7e1b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_f11d13b7-0982-4af6-b639-8b2811c637fc" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_1a98d025-9c4c-42fa-992c-2690194b7e1b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_a7363c64-dc37-4a13-ae43-8f6089d95238" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_1a98d025-9c4c-42fa-992c-2690194b7e1b" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_a7363c64-dc37-4a13-ae43-8f6089d95238" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_fa03738b-5706-4eaf-a314-a6b2c0532676" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_a7363c64-dc37-4a13-ae43-8f6089d95238" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_fa03738b-5706-4eaf-a314-a6b2c0532676" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicConcentrationRiskMember_fabb55ff-7609-4a39-8dba-4945c3f47a93" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GeographicConcentrationRiskMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_fa03738b-5706-4eaf-a314-a6b2c0532676" xlink:to="loc_us-gaap_GeographicConcentrationRiskMember_fabb55ff-7609-4a39-8dba-4945c3f47a93" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_755a3ba0-a5db-4a3e-8712-49d705d25fe9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_1a98d025-9c4c-42fa-992c-2690194b7e1b" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_755a3ba0-a5db-4a3e-8712-49d705d25fe9" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_3ef5ab77-f1d7-4c2f-8a69-a86814656ce3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_755a3ba0-a5db-4a3e-8712-49d705d25fe9" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_3ef5ab77-f1d7-4c2f-8a69-a86814656ce3" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_RiskInForceClaimsMember_ddc5845d-9c3a-4b56-b649-483b3d1fad3d" xlink:href="nmih-20231231.xsd#nmih_RiskInForceClaimsMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_3ef5ab77-f1d7-4c2f-8a69-a86814656ce3" xlink:to="loc_nmih_RiskInForceClaimsMember_ddc5845d-9c3a-4b56-b649-483b3d1fad3d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_1516b8ad-32bf-4e4c-b099-28aee8ceab94" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_StatementGeographicalAxis"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_1a98d025-9c4c-42fa-992c-2690194b7e1b" xlink:to="loc_srt_StatementGeographicalAxis_1516b8ad-32bf-4e4c-b099-28aee8ceab94" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_2f9b2819-4020-40f8-84db-edd691038316" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SegmentGeographicalDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_StatementGeographicalAxis_1516b8ad-32bf-4e4c-b099-28aee8ceab94" xlink:to="loc_srt_SegmentGeographicalDomain_2f9b2819-4020-40f8-84db-edd691038316" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_stpr_CA_e48fd7cc-ccba-4392-8120-9806a4595462" xlink:href="https://xbrl.sec.gov/stpr/2023/stpr-2023.xsd#stpr_CA"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_SegmentGeographicalDomain_2f9b2819-4020-40f8-84db-edd691038316" xlink:to="loc_stpr_CA_e48fd7cc-ccba-4392-8120-9806a4595462" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_9f6936e8-111d-44a4-9cec-e89b0e317d19" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_1a98d025-9c4c-42fa-992c-2690194b7e1b" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_9f6936e8-111d-44a4-9cec-e89b0e317d19" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_d0fd9991-eb68-4525-b727-634ce501bc16" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_9f6936e8-111d-44a4-9cec-e89b0e317d19" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_d0fd9991-eb68-4525-b727-634ce501bc16" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_3a91ff89-d014-4bd6-921f-33b5cfaeebbb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_d0fd9991-eb68-4525-b727-634ce501bc16" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_3a91ff89-d014-4bd6-921f-33b5cfaeebbb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquipmentMember_fc2ea71c-655a-4a79-a5f1-5519357882e7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquipmentMember"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_d0fd9991-eb68-4525-b727-634ce501bc16" xlink:to="loc_us-gaap_EquipmentMember_fc2ea71c-655a-4a79-a5f1-5519357882e7" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_76ceab3f-ff49-4af3-bb14-4c8f4d5d6284" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeAxis"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_1a98d025-9c4c-42fa-992c-2690194b7e1b" xlink:to="loc_srt_RangeAxis_76ceab3f-ff49-4af3-bb14-4c8f4d5d6284" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_803dc978-7204-4633-952b-4c020b8ef194" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeAxis_76ceab3f-ff49-4af3-bb14-4c8f4d5d6284" xlink:to="loc_srt_RangeMember_803dc978-7204-4633-952b-4c020b8ef194" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_2cc26978-0eae-4f6b-afe4-663455bdd76f" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MinimumMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_803dc978-7204-4633-952b-4c020b8ef194" xlink:to="loc_srt_MinimumMember_2cc26978-0eae-4f6b-afe4-663455bdd76f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_a4ddcd49-6801-45b2-8544-038eef93f31a" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MaximumMember"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_803dc978-7204-4633-952b-4c020b8ef194" xlink:to="loc_srt_MaximumMember_a4ddcd49-6801-45b2-8544-038eef93f31a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_11573d85-58e6-47d2-b8ef-2c92d9b360e5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_1a98d025-9c4c-42fa-992c-2690194b7e1b" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_11573d85-58e6-47d2-b8ef-2c92d9b360e5" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_c9f6ad22-4529-469f-b587-617297af839f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_11573d85-58e6-47d2-b8ef-2c92d9b360e5" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_c9f6ad22-4529-469f-b587-617297af839f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivable_f3ca7382-f045-420b-8cd5-da08cf64fbfa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestReceivable"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_11573d85-58e6-47d2-b8ef-2c92d9b360e5" xlink:to="loc_us-gaap_InterestReceivable_f3ca7382-f045-420b-8cd5-da08cf64fbfa" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredPolicyAcquisitionCostAmortizationExpense_dc2b76e5-5d85-43c7-883d-59a854725493" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredPolicyAcquisitionCostAmortizationExpense"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_11573d85-58e6-47d2-b8ef-2c92d9b360e5" xlink:to="loc_us-gaap_DeferredPolicyAcquisitionCostAmortizationExpense_dc2b76e5-5d85-43c7-883d-59a854725493" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_PremiumDeficiencyReserveExpense_f3672de1-9f51-4a54-9bfb-660b6fc6a7ba" xlink:href="nmih-20231231.xsd#nmih_PremiumDeficiencyReserveExpense"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_11573d85-58e6-47d2-b8ef-2c92d9b360e5" xlink:to="loc_nmih_PremiumDeficiencyReserveExpense_f3672de1-9f51-4a54-9bfb-660b6fc6a7ba" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReinsuranceRecoverablesGross_ad81abcb-b5ab-4330-b640-88b951b8a7b4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReinsuranceRecoverablesGross"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_11573d85-58e6-47d2-b8ef-2c92d9b360e5" xlink:to="loc_us-gaap_ReinsuranceRecoverablesGross_ad81abcb-b5ab-4330-b640-88b951b8a7b4" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_37ee3008-746d-4e99-8e79-51daf77af63a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_11573d85-58e6-47d2-b8ef-2c92d9b360e5" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_37ee3008-746d-4e99-8e79-51daf77af63a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillImpairmentLoss_24b15a54-f3f3-4045-9aa1-aa298e1949de" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GoodwillImpairmentLoss"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_11573d85-58e6-47d2-b8ef-2c92d9b360e5" xlink:to="loc_us-gaap_GoodwillImpairmentLoss_24b15a54-f3f3-4045-9aa1-aa298e1949de" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill_cd310caf-d561-40bc-94b7-821f046864f7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill"/>
    <link:presentationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_11573d85-58e6-47d2-b8ef-2c92d9b360e5" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill_cd310caf-d561-40bc-94b7-821f046864f7" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_PremiumReceivableNumberOfDaysToBeWrittenOff_17d0f0e5-e563-4ffa-a8da-5fd1d4349e07" xlink:href="nmih-20231231.xsd#nmih_PremiumReceivableNumberOfDaysToBeWrittenOff"/>
    <link:presentationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_11573d85-58e6-47d2-b8ef-2c92d9b360e5" xlink:to="loc_nmih_PremiumReceivableNumberOfDaysToBeWrittenOff_17d0f0e5-e563-4ffa-a8da-5fd1d4349e07" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_PremiumReceivableWriteOffReserve_d3ba6927-00c3-4887-bddb-e2b708efd47d" xlink:href="nmih-20231231.xsd#nmih_PremiumReceivableWriteOffReserve"/>
    <link:presentationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_11573d85-58e6-47d2-b8ef-2c92d9b360e5" xlink:to="loc_nmih_PremiumReceivableWriteOffReserve_d3ba6927-00c3-4887-bddb-e2b708efd47d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/InvestmentsFairValuesandGrossUnrealizedGainsandLossesDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#InvestmentsFairValuesandGrossUnrealizedGainsandLossesDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/InvestmentsFairValuesandGrossUnrealizedGainsandLossesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_1675a5b5-d6a7-4a3f-85db-5853f21d0f97" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_6467bbba-089f-4349-b9a8-7375f3375fda" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_1675a5b5-d6a7-4a3f-85db-5853f21d0f97" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_6467bbba-089f-4349-b9a8-7375f3375fda" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_a4ff9d09-9880-4ea9-8beb-6697bb0d0605" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_6467bbba-089f-4349-b9a8-7375f3375fda" xlink:to="loc_us-gaap_FinancialInstrumentAxis_a4ff9d09-9880-4ea9-8beb-6697bb0d0605" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f5f7c3df-d9eb-4d61-928b-39dca34fd71c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancialInstrumentAxis_a4ff9d09-9880-4ea9-8beb-6697bb0d0605" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f5f7c3df-d9eb-4d61-928b-39dca34fd71c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_ec4b59fb-5673-44ab-b91f-75d43b2573de" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_USTreasuryAndGovernmentMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f5f7c3df-d9eb-4d61-928b-39dca34fd71c" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_ec4b59fb-5673-44ab-b91f-75d43b2573de" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_dd74c287-c6fd-49a0-af29-db06f780e97f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f5f7c3df-d9eb-4d61-928b-39dca34fd71c" xlink:to="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_dd74c287-c6fd-49a0-af29-db06f780e97f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_9b4aea7d-8d38-47e7-8394-a6d8511f6cec" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CorporateDebtSecuritiesMember"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f5f7c3df-d9eb-4d61-928b-39dca34fd71c" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_9b4aea7d-8d38-47e7-8394-a6d8511f6cec" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_d47b3127-9a6f-4826-bcc6-17028330ea52" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetBackedSecuritiesMember"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f5f7c3df-d9eb-4d61-928b-39dca34fd71c" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_d47b3127-9a6f-4826-bcc6-17028330ea52" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BondsMember_753fbd4b-4aea-4e4e-823b-5353a5b92300" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BondsMember"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f5f7c3df-d9eb-4d61-928b-39dca34fd71c" xlink:to="loc_us-gaap_BondsMember_753fbd4b-4aea-4e4e-823b-5353a5b92300" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermInvestmentsMember_6847c9c8-fc7b-47bd-b892-e52f0db505f4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortTermInvestmentsMember"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f5f7c3df-d9eb-4d61-928b-39dca34fd71c" xlink:to="loc_us-gaap_ShortTermInvestmentsMember_6847c9c8-fc7b-47bd-b892-e52f0db505f4" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_1c0ab4d1-d146-4ba2-aaae-230b4ba8940d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_6467bbba-089f-4349-b9a8-7375f3375fda" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_1c0ab4d1-d146-4ba2-aaae-230b4ba8940d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_b22b6c65-323c-4e6b-98ef-e8407fcf752b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_1c0ab4d1-d146-4ba2-aaae-230b4ba8940d" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_b22b6c65-323c-4e6b-98ef-e8407fcf752b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_9d10f547-3a71-4189-92a2-8983e1c1a987" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_1c0ab4d1-d146-4ba2-aaae-230b4ba8940d" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_9d10f547-3a71-4189-92a2-8983e1c1a987" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_f84cc27a-3abd-4705-8b09-0070f53625f8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_1c0ab4d1-d146-4ba2-aaae-230b4ba8940d" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_f84cc27a-3abd-4705-8b09-0070f53625f8" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_372df7d3-e1e1-4031-905e-00c19ceb8a62" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_1c0ab4d1-d146-4ba2-aaae-230b4ba8940d" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_372df7d3-e1e1-4031-905e-00c19ceb8a62" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/InvestmentsCorporateDebtSecuritiesbyIndustryGroupDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#InvestmentsCorporateDebtSecuritiesbyIndustryGroupDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/InvestmentsCorporateDebtSecuritiesbyIndustryGroupDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_e1629258-f2b3-4042-9497-8090e9273bf9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_64a477e0-037a-4004-9d5f-65d3484be6c3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_e1629258-f2b3-4042-9497-8090e9273bf9" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_64a477e0-037a-4004-9d5f-65d3484be6c3" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesByIndustryAxis_b778b57c-ecdb-4d8f-9582-b3e1b3d39dff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesByIndustryAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_64a477e0-037a-4004-9d5f-65d3484be6c3" xlink:to="loc_us-gaap_EquitySecuritiesByIndustryAxis_b778b57c-ecdb-4d8f-9582-b3e1b3d39dff" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesIndustryMember_d6f1d752-361e-429b-838c-d45b01623244" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesIndustryMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquitySecuritiesByIndustryAxis_b778b57c-ecdb-4d8f-9582-b3e1b3d39dff" xlink:to="loc_us-gaap_EquitySecuritiesIndustryMember_d6f1d752-361e-429b-838c-d45b01623244" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_FinancialIndustryGroupMember_f433958a-3166-493a-adbe-48645c925f9e" xlink:href="nmih-20231231.xsd#nmih_FinancialIndustryGroupMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquitySecuritiesIndustryMember_d6f1d752-361e-429b-838c-d45b01623244" xlink:to="loc_nmih_FinancialIndustryGroupMember_f433958a-3166-493a-adbe-48645c925f9e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_ConsumerIndustryGroupMember_bce14fad-1cfa-409c-a808-1b4e9d58e687" xlink:href="nmih-20231231.xsd#nmih_ConsumerIndustryGroupMember"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquitySecuritiesIndustryMember_d6f1d752-361e-429b-838c-d45b01623244" xlink:to="loc_nmih_ConsumerIndustryGroupMember_bce14fad-1cfa-409c-a808-1b4e9d58e687" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_UtilitiesIndustryGroupMember_aa94c5ef-d206-4308-99b5-dd15ab1b3648" xlink:href="nmih-20231231.xsd#nmih_UtilitiesIndustryGroupMember"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquitySecuritiesIndustryMember_d6f1d752-361e-429b-838c-d45b01623244" xlink:to="loc_nmih_UtilitiesIndustryGroupMember_aa94c5ef-d206-4308-99b5-dd15ab1b3648" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_IndustrialIndustryGroupMember_f38eeb09-c028-4fef-8618-7ec021b3a245" xlink:href="nmih-20231231.xsd#nmih_IndustrialIndustryGroupMember"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquitySecuritiesIndustryMember_d6f1d752-361e-429b-838c-d45b01623244" xlink:to="loc_nmih_IndustrialIndustryGroupMember_f38eeb09-c028-4fef-8618-7ec021b3a245" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_CommunicationsIndustryGroupMember_30496aa5-400c-48c5-ab51-1e3074a2505f" xlink:href="nmih-20231231.xsd#nmih_CommunicationsIndustryGroupMember"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquitySecuritiesIndustryMember_d6f1d752-361e-429b-838c-d45b01623244" xlink:to="loc_nmih_CommunicationsIndustryGroupMember_30496aa5-400c-48c5-ab51-1e3074a2505f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_TechnologyIndustryGroupMember_1d5cec3d-e6b6-4677-a4b0-34cd71eda4d5" xlink:href="nmih-20231231.xsd#nmih_TechnologyIndustryGroupMember"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquitySecuritiesIndustryMember_d6f1d752-361e-429b-838c-d45b01623244" xlink:to="loc_nmih_TechnologyIndustryGroupMember_1d5cec3d-e6b6-4677-a4b0-34cd71eda4d5" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_a3f4c6f3-51a3-4712-980e-09684981f941" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_64a477e0-037a-4004-9d5f-65d3484be6c3" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_a3f4c6f3-51a3-4712-980e-09684981f941" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_DebtSecuritiesCorporateComponentOfTotalPercentage_b295fd24-c2f9-496f-bfb1-d4575411aafd" xlink:href="nmih-20231231.xsd#nmih_DebtSecuritiesCorporateComponentOfTotalPercentage"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_a3f4c6f3-51a3-4712-980e-09684981f941" xlink:to="loc_nmih_DebtSecuritiesCorporateComponentOfTotalPercentage_b295fd24-c2f9-496f-bfb1-d4575411aafd" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/InvestmentsNarrativeDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#InvestmentsNarrativeDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/InvestmentsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_0ab39647-9e80-49f2-9b43-ac95741da02b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_9382e189-2ef6-45c7-a436-beff74ea2b25" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_0ab39647-9e80-49f2-9b43-ac95741da02b" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_9382e189-2ef6-45c7-a436-beff74ea2b25" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_c7b043bf-74d0-4f7d-90dc-1c4cd42b923e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_9382e189-2ef6-45c7-a436-beff74ea2b25" xlink:to="loc_us-gaap_FinancialInstrumentAxis_c7b043bf-74d0-4f7d-90dc-1c4cd42b923e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_5d6c3ecb-5c82-493c-b360-046b163a8382" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancialInstrumentAxis_c7b043bf-74d0-4f7d-90dc-1c4cd42b923e" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_5d6c3ecb-5c82-493c-b360-046b163a8382" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_85fa5e84-338e-4d57-a02d-a9623f7f93b6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_USTreasuryAndGovernmentMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_5d6c3ecb-5c82-493c-b360-046b163a8382" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_85fa5e84-338e-4d57-a02d-a9623f7f93b6" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_ef468757-302e-4d46-b55f-b712741f6b60" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_9382e189-2ef6-45c7-a436-beff74ea2b25" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_ef468757-302e-4d46-b55f-b712741f6b60" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsAndShortTermInvestments_c119717d-ea77-41b1-a15c-723b7e469748" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsAndShortTermInvestments"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_ef468757-302e-4d46-b55f-b712741f6b60" xlink:to="loc_us-gaap_CashCashEquivalentsAndShortTermInvestments_c119717d-ea77-41b1-a15c-723b7e469748" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_9a0fcc5d-4085-4499-90d8-3f79be80b5f6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_ef468757-302e-4d46-b55f-b712741f6b60" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_9a0fcc5d-4085-4499-90d8-3f79be80b5f6" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_4d109817-698b-4704-972d-14984cbb89be" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_ef468757-302e-4d46-b55f-b712741f6b60" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_4d109817-698b-4704-972d-14984cbb89be" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/InvestmentsScheduledMaturitiesDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#InvestmentsScheduledMaturitiesDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/InvestmentsScheduledMaturitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_e6f4ff5b-f632-4aa4-828e-0ae774577314" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_38a8c8ee-a14f-476a-bbdd-88dfaefa76d9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_e6f4ff5b-f632-4aa4-828e-0ae774577314" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_38a8c8ee-a14f-476a-bbdd-88dfaefa76d9" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis_812509c3-5ab8-439f-8a9c-a50294ec961c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_38a8c8ee-a14f-476a-bbdd-88dfaefa76d9" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis_812509c3-5ab8-439f-8a9c-a50294ec961c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis_077b6c24-1165-474f-9da7-16523c717c57" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_38a8c8ee-a14f-476a-bbdd-88dfaefa76d9" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis_077b6c24-1165-474f-9da7-16523c717c57" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis_91d58608-9623-47a0-b337-a0363f102f09" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_38a8c8ee-a14f-476a-bbdd-88dfaefa76d9" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis_91d58608-9623-47a0-b337-a0363f102f09" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis_5d3bbce5-655e-4b64-af5f-0ef75d5c0847" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_38a8c8ee-a14f-476a-bbdd-88dfaefa76d9" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis_5d3bbce5-655e-4b64-af5f-0ef75d5c0847" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost_ceaa4b9a-45d7-4a6e-8808-831795503e3b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_38a8c8ee-a14f-476a-bbdd-88dfaefa76d9" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost_ceaa4b9a-45d7-4a6e-8808-831795503e3b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_6f2e67a2-9046-4e84-889d-ece8f1471661" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_38a8c8ee-a14f-476a-bbdd-88dfaefa76d9" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_6f2e67a2-9046-4e84-889d-ece8f1471661" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAbstract_f51c10cc-091b-44b5-b9c2-7ce4e2602235" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAbstract"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_e6f4ff5b-f632-4aa4-828e-0ae774577314" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAbstract_f51c10cc-091b-44b5-b9c2-7ce4e2602235" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue_f725718a-42f5-4e26-a9ed-69c2603ecbc6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAbstract_f51c10cc-091b-44b5-b9c2-7ce4e2602235" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue_f725718a-42f5-4e26-a9ed-69c2603ecbc6" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue_1bbf19a2-d42f-4366-a0c9-a51c59d89985" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAbstract_f51c10cc-091b-44b5-b9c2-7ce4e2602235" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue_1bbf19a2-d42f-4366-a0c9-a51c59d89985" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue_114eee75-1bfc-4dd2-aa14-82bdbe087690" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAbstract_f51c10cc-091b-44b5-b9c2-7ce4e2602235" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue_114eee75-1bfc-4dd2-aa14-82bdbe087690" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue_a1960c13-6250-47e5-9299-def66cf70f1c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAbstract_f51c10cc-091b-44b5-b9c2-7ce4e2602235" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue_a1960c13-6250-47e5-9299-def66cf70f1c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue_042c70e9-a395-40d5-856e-49c3a0161b6f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAbstract_f51c10cc-091b-44b5-b9c2-7ce4e2602235" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue_042c70e9-a395-40d5-856e-49c3a0161b6f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_ab6b25e4-3bdc-4d4e-9bea-b4034644e9cb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAbstract_f51c10cc-091b-44b5-b9c2-7ce4e2602235" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_ab6b25e4-3bdc-4d4e-9bea-b4034644e9cb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/InvestmentsAgingofUnrealizedLossesDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#InvestmentsAgingofUnrealizedLossesDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/InvestmentsAgingofUnrealizedLossesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_9a6beda1-9a95-4c0a-9123-1b117604191f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_3f691048-4c5d-4c37-aaae-18758ee474cc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_9a6beda1-9a95-4c0a-9123-1b117604191f" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_3f691048-4c5d-4c37-aaae-18758ee474cc" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_2039bf1d-a3f3-4669-90c2-a2b49ee763e1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_3f691048-4c5d-4c37-aaae-18758ee474cc" xlink:to="loc_us-gaap_FinancialInstrumentAxis_2039bf1d-a3f3-4669-90c2-a2b49ee763e1" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_9897907c-d288-40c9-aecd-622fc80b7a31" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancialInstrumentAxis_2039bf1d-a3f3-4669-90c2-a2b49ee763e1" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_9897907c-d288-40c9-aecd-622fc80b7a31" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_ad034d20-f2f2-4eb8-b345-cf3f69ce8a8a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_USTreasuryAndGovernmentMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_9897907c-d288-40c9-aecd-622fc80b7a31" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_ad034d20-f2f2-4eb8-b345-cf3f69ce8a8a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_159b0bcd-d924-44ec-a246-f31c4f69eadf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_9897907c-d288-40c9-aecd-622fc80b7a31" xlink:to="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_159b0bcd-d924-44ec-a246-f31c4f69eadf" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_a3798574-3c12-49da-a38b-4002a96241a8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CorporateDebtSecuritiesMember"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_9897907c-d288-40c9-aecd-622fc80b7a31" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_a3798574-3c12-49da-a38b-4002a96241a8" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_d380b24b-11ed-43f6-b1d5-6f93691938b6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetBackedSecuritiesMember"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_9897907c-d288-40c9-aecd-622fc80b7a31" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_d380b24b-11ed-43f6-b1d5-6f93691938b6" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermInvestmentsMember_78e12d16-b4ce-4df4-be9e-bd791ca5f6ab" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortTermInvestmentsMember"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_9897907c-d288-40c9-aecd-622fc80b7a31" xlink:to="loc_us-gaap_ShortTermInvestmentsMember_78e12d16-b4ce-4df4-be9e-bd791ca5f6ab" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_b4121142-c630-410e-8f41-653cf51be943" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_3f691048-4c5d-4c37-aaae-18758ee474cc" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_b4121142-c630-410e-8f41-653cf51be943" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions_f43f9879-231d-4fa5-b6fa-e170af2c8ce5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_b4121142-c630-410e-8f41-653cf51be943" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions_f43f9879-231d-4fa5-b6fa-e170af2c8ce5" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_270e83de-2841-40c8-aadc-47304b7b4bf4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_b4121142-c630-410e-8f41-653cf51be943" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_270e83de-2841-40c8-aadc-47304b7b4bf4" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_5861ea37-4da2-4149-8957-fbe426a78947" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_b4121142-c630-410e-8f41-653cf51be943" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_5861ea37-4da2-4149-8957-fbe426a78947" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions_b47e0626-760a-486a-ace9-fc4f68ca143e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_b4121142-c630-410e-8f41-653cf51be943" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions_b47e0626-760a-486a-ace9-fc4f68ca143e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_aaa5318f-cb63-44cf-a58c-c59edb3f5b40" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_b4121142-c630-410e-8f41-653cf51be943" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_aaa5318f-cb63-44cf-a58c-c59edb3f5b40" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_d0ff2f86-bcd8-4a32-bb0d-870ef182a969" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_b4121142-c630-410e-8f41-653cf51be943" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_d0ff2f86-bcd8-4a32-bb0d-870ef182a969" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions_0157723d-cac1-40a0-b294-0938f16ddb27" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_b4121142-c630-410e-8f41-653cf51be943" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions_0157723d-cac1-40a0-b294-0938f16ddb27" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_2ebd3c62-3385-43f7-8e44-ab112aac8a70" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition"/>
    <link:presentationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_b4121142-c630-410e-8f41-653cf51be943" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_2ebd3c62-3385-43f7-8e44-ab112aac8a70" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_871a1ffe-0616-41e4-aa1c-b6806b10a8e6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss"/>
    <link:presentationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_b4121142-c630-410e-8f41-653cf51be943" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_871a1ffe-0616-41e4-aa1c-b6806b10a8e6" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTotalLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/InvestmentsNetInvestmentIncomeDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#InvestmentsNetInvestmentIncomeDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/InvestmentsNetInvestmentIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_a547ddf5-d9b5-45c6-b01a-efe60fe7d036" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable_52508ba7-d1db-462e-91e3-38b6ff6846b4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_a547ddf5-d9b5-45c6-b01a-efe60fe7d036" xlink:to="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable_52508ba7-d1db-462e-91e3-38b6ff6846b4" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAxis_528b503d-fa0e-43e4-bf37-e6ae57efad2c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable_52508ba7-d1db-462e-91e3-38b6ff6846b4" xlink:to="loc_us-gaap_CashAndCashEquivalentsAxis_528b503d-fa0e-43e4-bf37-e6ae57efad2c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_dbddd248-c8c1-4365-a606-5293b4207776" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_528b503d-fa0e-43e4-bf37-e6ae57efad2c" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_dbddd248-c8c1-4365-a606-5293b4207776" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsMember_3e4bc2aa-683c-4154-a37c-f67d9366d8d2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_dbddd248-c8c1-4365-a606-5293b4207776" xlink:to="loc_us-gaap_CashAndCashEquivalentsMember_3e4bc2aa-683c-4154-a37c-f67d9366d8d2" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems_5254b7c0-2642-42fc-ad76-34a3f5e909f5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable_52508ba7-d1db-462e-91e3-38b6ff6846b4" xlink:to="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems_5254b7c0-2642-42fc-ad76-34a3f5e909f5" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeNetAbstract_8978ed7a-b34e-483e-ae55-ab4145214052" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIncomeNetAbstract"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems_5254b7c0-2642-42fc-ad76-34a3f5e909f5" xlink:to="loc_us-gaap_InvestmentIncomeNetAbstract_8978ed7a-b34e-483e-ae55-ab4145214052" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterestAndDividend_8491febd-f462-4c81-b851-8152829cfbdf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIncomeInterestAndDividend"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentIncomeNetAbstract_8978ed7a-b34e-483e-ae55-ab4145214052" xlink:to="loc_us-gaap_InvestmentIncomeInterestAndDividend_8491febd-f462-4c81-b851-8152829cfbdf" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInvestmentExpense_c58f81b4-e770-4522-b4d7-6848beeaa03b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIncomeInvestmentExpense"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentIncomeNetAbstract_8978ed7a-b34e-483e-ae55-ab4145214052" xlink:to="loc_us-gaap_InvestmentIncomeInvestmentExpense_c58f81b4-e770-4522-b4d7-6848beeaa03b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeNet_cf663b01-f047-44e3-8491-feb934820263" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIncomeNet"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentIncomeNetAbstract_8978ed7a-b34e-483e-ae55-ab4145214052" xlink:to="loc_us-gaap_InvestmentIncomeNet_cf663b01-f047-44e3-8491-feb934820263" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/InvestmentsNetRealizedInvestmentsLossesGainsDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#InvestmentsNetRealizedInvestmentsLossesGainsDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/InvestmentsNetRealizedInvestmentsLossesGainsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_453e035e-49d2-49ea-ab16-9a173e1019ab" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain_16e61d4f-0574-4411-93eb-d4ee45c7c93a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_453e035e-49d2-49ea-ab16-9a173e1019ab" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain_16e61d4f-0574-4411-93eb-d4ee45c7c93a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss_8edbec77-0b5e-4bbf-a6c8-1d53bcfeea9e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_453e035e-49d2-49ea-ab16-9a173e1019ab" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss_8edbec77-0b5e-4bbf-a6c8-1d53bcfeea9e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_fe0726a0-e4fb-4227-9891-a15d5be19270" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_453e035e-49d2-49ea-ab16-9a173e1019ab" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_fe0726a0-e4fb-4227-9891-a15d5be19270" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/FairValueofFinancialInstrumentsAssetsandLiabilitiesatFairValueDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#FairValueofFinancialInstrumentsAssetsandLiabilitiesatFairValueDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/FairValueofFinancialInstrumentsAssetsandLiabilitiesatFairValueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosuresAbstract_4f46677f-6b26-4ace-8193-f7892b38eeb7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueDisclosuresAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_45607bdd-9e03-49b2-a1d7-632ae1cda248" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueDisclosuresAbstract_4f46677f-6b26-4ace-8193-f7892b38eeb7" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_45607bdd-9e03-49b2-a1d7-632ae1cda248" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_6a46ea53-0724-41f3-967f-a62db3a0dbdb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_45607bdd-9e03-49b2-a1d7-632ae1cda248" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_6a46ea53-0724-41f3-967f-a62db3a0dbdb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_f0836b0a-73c6-4f29-8c3a-26210fbedde8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_6a46ea53-0724-41f3-967f-a62db3a0dbdb" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_f0836b0a-73c6-4f29-8c3a-26210fbedde8" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_65ee85fc-7e9d-4e6e-862b-bd6b6a3554a0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementsRecurringMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_f0836b0a-73c6-4f29-8c3a-26210fbedde8" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_65ee85fc-7e9d-4e6e-862b-bd6b6a3554a0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_65ae2c40-039a-407b-994e-4362fbcb548c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_45607bdd-9e03-49b2-a1d7-632ae1cda248" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_65ae2c40-039a-407b-994e-4362fbcb548c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_aacf7c87-b245-4527-8b40-729af5cae1ce" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_65ae2c40-039a-407b-994e-4362fbcb548c" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_aacf7c87-b245-4527-8b40-729af5cae1ce" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_c530fed6-50f9-455a-a92f-fe8b081fb06b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_aacf7c87-b245-4527-8b40-729af5cae1ce" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_c530fed6-50f9-455a-a92f-fe8b081fb06b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_beb786ff-691b-49d8-84da-1c09d24e4ada" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_aacf7c87-b245-4527-8b40-729af5cae1ce" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_beb786ff-691b-49d8-84da-1c09d24e4ada" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_ee6dd41f-7d57-4e42-8067-7c208d571993" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_aacf7c87-b245-4527-8b40-729af5cae1ce" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_ee6dd41f-7d57-4e42-8067-7c208d571993" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_61e9e936-cfcb-48a2-ad43-c114a0628550" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_45607bdd-9e03-49b2-a1d7-632ae1cda248" xlink:to="loc_us-gaap_FinancialInstrumentAxis_61e9e936-cfcb-48a2-ad43-c114a0628550" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3794111f-d1b5-499a-b173-c8e1bf757577" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancialInstrumentAxis_61e9e936-cfcb-48a2-ad43-c114a0628550" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3794111f-d1b5-499a-b173-c8e1bf757577" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_06b57c8d-0c4a-49d8-b0cf-da4a997c26e6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_USTreasuryAndGovernmentMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3794111f-d1b5-499a-b173-c8e1bf757577" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_06b57c8d-0c4a-49d8-b0cf-da4a997c26e6" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_196f76bf-1a29-4098-8575-06bdf9edb07e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3794111f-d1b5-499a-b173-c8e1bf757577" xlink:to="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_196f76bf-1a29-4098-8575-06bdf9edb07e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_0a16958e-93a1-4437-a9c9-c072b162f2c2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CorporateDebtSecuritiesMember"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3794111f-d1b5-499a-b173-c8e1bf757577" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_0a16958e-93a1-4437-a9c9-c072b162f2c2" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_83598f08-6866-4d41-81b7-3611b6ee4f07" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetBackedSecuritiesMember"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3794111f-d1b5-499a-b173-c8e1bf757577" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_83598f08-6866-4d41-81b7-3611b6ee4f07" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_b2164d01-58c9-4301-9cd7-de15453178ee" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_45607bdd-9e03-49b2-a1d7-632ae1cda248" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_b2164d01-58c9-4301-9cd7-de15453178ee" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_b64adf6a-5cd9-4d64-9782-33aede87dbec" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_b2164d01-58c9-4301-9cd7-de15453178ee" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_b64adf6a-5cd9-4d64-9782-33aede87dbec" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_748221c9-5ba1-4984-899a-70ce4f8b418b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_b2164d01-58c9-4301-9cd7-de15453178ee" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_748221c9-5ba1-4984-899a-70ce4f8b418b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_1c42d2f3-6ab2-47ea-bf0b-28d5d0e2d5cc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_b2164d01-58c9-4301-9cd7-de15453178ee" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_1c42d2f3-6ab2-47ea-bf0b-28d5d0e2d5cc" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/FairValueofFinancialInstrumentsNarrativeDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#FairValueofFinancialInstrumentsNarrativeDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/FairValueofFinancialInstrumentsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosuresAbstract_5dcdd80e-1d09-4b07-8f46-7369baca1b1d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueDisclosuresAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_837f45da-3eab-46ed-bfdd-323dea28cf52" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueDisclosuresAbstract_5dcdd80e-1d09-4b07-8f46-7369baca1b1d" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_837f45da-3eab-46ed-bfdd-323dea28cf52" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_78e70c07-aefa-4466-b167-72dc5220cffb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_837f45da-3eab-46ed-bfdd-323dea28cf52" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_78e70c07-aefa-4466-b167-72dc5220cffb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_2901842d-0f0a-47f8-b706-73a16a0e1dad" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_78e70c07-aefa-4466-b167-72dc5220cffb" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_2901842d-0f0a-47f8-b706-73a16a0e1dad" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebtMember_89c34477-3775-4dbe-af74-16bae1fd20ac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SecuredDebtMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_2901842d-0f0a-47f8-b706-73a16a0e1dad" xlink:to="loc_us-gaap_SecuredDebtMember_89c34477-3775-4dbe-af74-16bae1fd20ac" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_ce7d2df5-783a-4375-adc0-9343f060cdec" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_837f45da-3eab-46ed-bfdd-323dea28cf52" xlink:to="loc_us-gaap_DebtInstrumentAxis_ce7d2df5-783a-4375-adc0-9343f060cdec" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_451e4047-0a12-48af-9306-63ff9873db45" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentAxis_ce7d2df5-783a-4375-adc0-9343f060cdec" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_451e4047-0a12-48af-9306-63ff9873db45" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_SeniorSecuredTermLoanMember_ea369cc0-e0ac-4d2b-8222-c355902f0a73" xlink:href="nmih-20231231.xsd#nmih_SeniorSecuredTermLoanMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_451e4047-0a12-48af-9306-63ff9873db45" xlink:to="loc_nmih_SeniorSecuredTermLoanMember_ea369cc0-e0ac-4d2b-8222-c355902f0a73" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_c02073dc-9714-41ce-9fde-f72d7a881c03" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_837f45da-3eab-46ed-bfdd-323dea28cf52" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_c02073dc-9714-41ce-9fde-f72d7a881c03" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_d2edc01f-8f3d-4c77-a54a-69f19cba23e0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_c02073dc-9714-41ce-9fde-f72d7a881c03" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_d2edc01f-8f3d-4c77-a54a-69f19cba23e0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_8518a997-9173-4197-b6c6-aea821c64ab2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_d2edc01f-8f3d-4c77-a54a-69f19cba23e0" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_8518a997-9173-4197-b6c6-aea821c64ab2" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2854b0ac-227d-4740-87b0-74a0bcf7d74c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_837f45da-3eab-46ed-bfdd-323dea28cf52" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2854b0ac-227d-4740-87b0-74a0bcf7d74c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_d40ab804-e627-4629-8c75-f589e13c60fe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2854b0ac-227d-4740-87b0-74a0bcf7d74c" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_d40ab804-e627-4629-8c75-f589e13c60fe" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_c6a66ef5-956c-42bb-b901-dbb3ee3db6ed" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebt"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2854b0ac-227d-4740-87b0-74a0bcf7d74c" xlink:to="loc_us-gaap_LongTermDebt_c6a66ef5-956c-42bb-b901-dbb3ee3db6ed" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsGross_66b7f15c-74a5-48bd-8610-3990bc508ffb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredFinanceCostsGross"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2854b0ac-227d-4740-87b0-74a0bcf7d74c" xlink:to="loc_us-gaap_DeferredFinanceCostsGross_66b7f15c-74a5-48bd-8610-3990bc508ffb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtFairValue_3cf073aa-2176-40bf-a3d1-91ec82c1089c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtFairValue"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2854b0ac-227d-4740-87b0-74a0bcf7d74c" xlink:to="loc_us-gaap_LongTermDebtFairValue_3cf073aa-2176-40bf-a3d1-91ec82c1089c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/DebtDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#DebtDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/DebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtDisclosureAbstract_7e1a6ab6-d72b-4202-85a3-38867131bda9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_18a9619f-8b83-474d-8339-b94e2a4ca9b1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtDisclosureAbstract_7e1a6ab6-d72b-4202-85a3-38867131bda9" xlink:to="loc_us-gaap_DebtInstrumentTable_18a9619f-8b83-474d-8339-b94e2a4ca9b1" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_6ca8ae05-43d3-40cc-9b5a-fdecf8386ce2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentTable_18a9619f-8b83-474d-8339-b94e2a4ca9b1" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_6ca8ae05-43d3-40cc-9b5a-fdecf8386ce2" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_8a327abc-f2f0-4241-a6a9-469c0a1a6f8a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_6ca8ae05-43d3-40cc-9b5a-fdecf8386ce2" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_8a327abc-f2f0-4241-a6a9-469c0a1a6f8a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebtMember_0b792772-18c5-48f4-918a-225d414a4f56" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SecuredDebtMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_8a327abc-f2f0-4241-a6a9-469c0a1a6f8a" xlink:to="loc_us-gaap_SecuredDebtMember_0b792772-18c5-48f4-918a-225d414a4f56" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_893241e1-ba89-4274-882f-5f7872231111" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SeniorNotesMember"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_8a327abc-f2f0-4241-a6a9-469c0a1a6f8a" xlink:to="loc_us-gaap_SeniorNotesMember_893241e1-ba89-4274-882f-5f7872231111" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_aad05be3-7030-4415-b55a-1ff73872b989" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentRedemptionPeriodAxis"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentTable_18a9619f-8b83-474d-8339-b94e2a4ca9b1" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_aad05be3-7030-4415-b55a-1ff73872b989" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_820a325b-3dbf-4975-a2ba-96cbefb7d6c6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentRedemptionPeriodDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_aad05be3-7030-4415-b55a-1ff73872b989" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_820a325b-3dbf-4975-a2ba-96cbefb7d6c6" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_PriorToMarch12025Member_9af53fa2-1dfa-416e-8a60-17a2c4542a36" xlink:href="nmih-20231231.xsd#nmih_PriorToMarch12025Member"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_820a325b-3dbf-4975-a2ba-96cbefb7d6c6" xlink:to="loc_nmih_PriorToMarch12025Member_9af53fa2-1dfa-416e-8a60-17a2c4542a36" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_AfterMarch12025Member_435a31f0-8a65-44b4-8577-922141195dd0" xlink:href="nmih-20231231.xsd#nmih_AfterMarch12025Member"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_820a325b-3dbf-4975-a2ba-96cbefb7d6c6" xlink:to="loc_nmih_AfterMarch12025Member_435a31f0-8a65-44b4-8577-922141195dd0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_09fd3812-19f6-4b24-be03-7244f8ef7bde" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentTable_18a9619f-8b83-474d-8339-b94e2a4ca9b1" xlink:to="loc_us-gaap_DebtInstrumentAxis_09fd3812-19f6-4b24-be03-7244f8ef7bde" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_8f84ac56-2214-4c98-993f-6df2da8ff897" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentAxis_09fd3812-19f6-4b24-be03-7244f8ef7bde" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_8f84ac56-2214-4c98-993f-6df2da8ff897" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_SeniorSecuredTermLoan2018Member_892e6875-53b4-4cf5-a486-a14745951caa" xlink:href="nmih-20231231.xsd#nmih_SeniorSecuredTermLoan2018Member"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_8f84ac56-2214-4c98-993f-6df2da8ff897" xlink:to="loc_nmih_SeniorSecuredTermLoan2018Member_892e6875-53b4-4cf5-a486-a14745951caa" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_SecuredRevolvingCreditFacility2020Member_7e72a1da-1020-4453-934d-a83222124c67" xlink:href="nmih-20231231.xsd#nmih_SecuredRevolvingCreditFacility2020Member"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_8f84ac56-2214-4c98-993f-6df2da8ff897" xlink:to="loc_nmih_SecuredRevolvingCreditFacility2020Member_7e72a1da-1020-4453-934d-a83222124c67" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_SecuredRevolvingCreditFacility2021Member_f9aa0565-fd5b-474c-9ae3-3280c9b7448d" xlink:href="nmih-20231231.xsd#nmih_SecuredRevolvingCreditFacility2021Member"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_8f84ac56-2214-4c98-993f-6df2da8ff897" xlink:to="loc_nmih_SecuredRevolvingCreditFacility2021Member_f9aa0565-fd5b-474c-9ae3-3280c9b7448d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_4da65ba2-0940-4def-852b-8aadc7a05802" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityAxis"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentTable_18a9619f-8b83-474d-8339-b94e2a4ca9b1" xlink:to="loc_us-gaap_CreditFacilityAxis_4da65ba2-0940-4def-852b-8aadc7a05802" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_fad707d8-239c-4175-b97b-ce378a42f1eb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CreditFacilityAxis_4da65ba2-0940-4def-852b-8aadc7a05802" xlink:to="loc_us-gaap_CreditFacilityDomain_fad707d8-239c-4175-b97b-ce378a42f1eb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_83af92c6-5e14-44f4-8fbd-c7e3797090c3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CreditFacilityDomain_fad707d8-239c-4175-b97b-ce378a42f1eb" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_83af92c6-5e14-44f4-8fbd-c7e3797090c3" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis_2090503a-7506-4303-acc2-63fe75486ce0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableRateAxis"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentTable_18a9619f-8b83-474d-8339-b94e2a4ca9b1" xlink:to="loc_us-gaap_VariableRateAxis_2090503a-7506-4303-acc2-63fe75486ce0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_db20d720-6203-4342-95c1-c7b11f280616" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableRateDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_VariableRateAxis_2090503a-7506-4303-acc2-63fe75486ce0" xlink:to="loc_us-gaap_VariableRateDomain_db20d720-6203-4342-95c1-c7b11f280616" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BaseRateMember_ac8b2b62-0f9d-4578-a139-22334806b7b4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BaseRateMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_VariableRateDomain_db20d720-6203-4342-95c1-c7b11f280616" xlink:to="loc_us-gaap_BaseRateMember_ac8b2b62-0f9d-4578-a139-22334806b7b4" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_SecuredOvernightFinanceRateMember_b16be803-1a46-44f2-bf75-6b9af1c2c1bc" xlink:href="nmih-20231231.xsd#nmih_SecuredOvernightFinanceRateMember"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_VariableRateDomain_db20d720-6203-4342-95c1-c7b11f280616" xlink:to="loc_nmih_SecuredOvernightFinanceRateMember_b16be803-1a46-44f2-bf75-6b9af1c2c1bc" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_f9ee0e22-2cc2-4024-b336-68c4c34e1f97" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeAxis"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentTable_18a9619f-8b83-474d-8339-b94e2a4ca9b1" xlink:to="loc_srt_RangeAxis_f9ee0e22-2cc2-4024-b336-68c4c34e1f97" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_380d75ab-1f16-4786-a754-57fcae188ab9" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeAxis_f9ee0e22-2cc2-4024-b336-68c4c34e1f97" xlink:to="loc_srt_RangeMember_380d75ab-1f16-4786-a754-57fcae188ab9" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_0f495f29-20be-4687-b8fa-9b2582c3840e" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MinimumMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_380d75ab-1f16-4786-a754-57fcae188ab9" xlink:to="loc_srt_MinimumMember_0f495f29-20be-4687-b8fa-9b2582c3840e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_aeb52647-d5cf-4af2-8139-a73c62022588" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MaximumMember"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_380d75ab-1f16-4786-a754-57fcae188ab9" xlink:to="loc_srt_MaximumMember_aeb52647-d5cf-4af2-8139-a73c62022588" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_123bfcac-c3c7-4810-8876-85d5d4e7cd0f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentTable_18a9619f-8b83-474d-8339-b94e2a4ca9b1" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_123bfcac-c3c7-4810-8876-85d5d4e7cd0f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_38aebbc2-88c0-46c3-8676-ff6a60a00c41" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_123bfcac-c3c7-4810-8876-85d5d4e7cd0f" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_38aebbc2-88c0-46c3-8676-ff6a60a00c41" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_9c575921-feee-48f1-bce0-f1e0c6aa2f6e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_38aebbc2-88c0-46c3-8676-ff6a60a00c41" xlink:to="loc_us-gaap_SubsequentEventMember_9c575921-feee-48f1-bce0-f1e0c6aa2f6e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_8b54b4b5-591e-4da9-a907-3c7263eb9364" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:presentationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentTable_18a9619f-8b83-474d-8339-b94e2a4ca9b1" xlink:to="loc_us-gaap_DebtInstrumentLineItems_8b54b4b5-591e-4da9-a907-3c7263eb9364" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotes_32187ed6-20b4-4007-b404-7df5ef2ae57f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SeniorNotes"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8b54b4b5-591e-4da9-a907-3c7263eb9364" xlink:to="loc_us-gaap_SeniorNotes_32187ed6-20b4-4007-b404-7df5ef2ae57f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_9e4759a8-3243-4f7a-b102-6baf94d94a7e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8b54b4b5-591e-4da9-a907-3c7263eb9364" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_9e4759a8-3243-4f7a-b102-6baf94d94a7e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPricePercentage_8ec71357-b520-4be8-be03-bd07cc8cbe39" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentRedemptionPricePercentage"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8b54b4b5-591e-4da9-a907-3c7263eb9364" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPricePercentage_8ec71357-b520-4be8-be03-bd07cc8cbe39" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_DebtInstrumentCovenantTermsApplicablePremium_c4b309fd-5c49-4836-a216-4b3785192c8b" xlink:href="nmih-20231231.xsd#nmih_DebtInstrumentCovenantTermsApplicablePremium"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8b54b4b5-591e-4da9-a907-3c7263eb9364" xlink:to="loc_nmih_DebtInstrumentCovenantTermsApplicablePremium_c4b309fd-5c49-4836-a216-4b3785192c8b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsGross_85b95214-1dd6-446e-ae0c-0984243afcdc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredFinanceCostsGross"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8b54b4b5-591e-4da9-a907-3c7263eb9364" xlink:to="loc_us-gaap_DeferredFinanceCostsGross_85b95214-1dd6-446e-ae0c-0984243afcdc" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_648c0f7d-973b-4010-a53a-4b087287b7a5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentInterestRateEffectivePercentage"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8b54b4b5-591e-4da9-a907-3c7263eb9364" xlink:to="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_648c0f7d-973b-4010-a53a-4b087287b7a5" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_89055927-2564-4277-9343-d6ac248f74eb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8b54b4b5-591e-4da9-a907-3c7263eb9364" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_89055927-2564-4277-9343-d6ac248f74eb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_7336b402-eae8-48dd-8a46-2b54f351bb88" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:presentationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8b54b4b5-591e-4da9-a907-3c7263eb9364" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_7336b402-eae8-48dd-8a46-2b54f351bb88" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_DebtInstrumentVariableInterestRateFloor_0392538f-847b-437e-a8c6-baa8f5b785f0" xlink:href="nmih-20231231.xsd#nmih_DebtInstrumentVariableInterestRateFloor"/>
    <link:presentationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8b54b4b5-591e-4da9-a907-3c7263eb9364" xlink:to="loc_nmih_DebtInstrumentVariableInterestRateFloor_0392538f-847b-437e-a8c6-baa8f5b785f0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_37fc2c6a-8a04-4c9a-a18f-345da0227148" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1"/>
    <link:presentationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8b54b4b5-591e-4da9-a907-3c7263eb9364" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_37fc2c6a-8a04-4c9a-a18f-345da0227148" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_9a1e45f0-15de-43cf-a79d-78629984e7e2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCredit"/>
    <link:presentationArc order="11" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8b54b4b5-591e-4da9-a907-3c7263eb9364" xlink:to="loc_us-gaap_LineOfCredit_9a1e45f0-15de-43cf-a79d-78629984e7e2" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_2127bc66-fac6-4583-b6b6-c4f6bdcba64b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage"/>
    <link:presentationArc order="12" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8b54b4b5-591e-4da9-a907-3c7263eb9364" xlink:to="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_2127bc66-fac6-4583-b6b6-c4f6bdcba64b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCommitmentFeeAmount_c7bdca3b-6ae1-4811-875e-4e8d849eff6b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityCommitmentFeeAmount"/>
    <link:presentationArc order="13" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8b54b4b5-591e-4da9-a907-3c7263eb9364" xlink:to="loc_us-gaap_LineOfCreditFacilityCommitmentFeeAmount_c7bdca3b-6ae1-4811-875e-4e8d849eff6b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtIssuanceCostsLineOfCreditArrangementsGross_56966428-83d5-4cce-b133-745fe2d7a9ca" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtIssuanceCostsLineOfCreditArrangementsGross"/>
    <link:presentationArc order="14" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8b54b4b5-591e-4da9-a907-3c7263eb9364" xlink:to="loc_us-gaap_DebtIssuanceCostsLineOfCreditArrangementsGross_56966428-83d5-4cce-b133-745fe2d7a9ca" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtIssuanceCostsLineOfCreditArrangementsNet_18e258b2-d84d-4de7-9573-5dccd569056f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtIssuanceCostsLineOfCreditArrangementsNet"/>
    <link:presentationArc order="15" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8b54b4b5-591e-4da9-a907-3c7263eb9364" xlink:to="loc_us-gaap_DebtIssuanceCostsLineOfCreditArrangementsNet_18e258b2-d84d-4de7-9573-5dccd569056f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_DebtInstrumentCovenantTermsDebtToTotalCapitalizationRatioMaximum_0a1ab584-d999-412d-8973-5c7304bed8e0" xlink:href="nmih-20231231.xsd#nmih_DebtInstrumentCovenantTermsDebtToTotalCapitalizationRatioMaximum"/>
    <link:presentationArc order="16" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8b54b4b5-591e-4da9-a907-3c7263eb9364" xlink:to="loc_nmih_DebtInstrumentCovenantTermsDebtToTotalCapitalizationRatioMaximum_0a1ab584-d999-412d-8973-5c7304bed8e0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/ReinsuranceEffectofReinsuranceAgreementsonPremiumsWrittenandEarnedDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#ReinsuranceEffectofReinsuranceAgreementsonPremiumsWrittenandEarnedDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/ReinsuranceEffectofReinsuranceAgreementsonPremiumsWrittenandEarnedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReinsuranceDisclosuresAbstract_9a0348c9-59f8-4e24-b4d6-1abd57ec7734" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReinsuranceDisclosuresAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PremiumsWrittenNetConsolidatedAbstract_94cdeea3-b51d-491b-8319-b5fe7563f07e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PremiumsWrittenNetConsolidatedAbstract"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReinsuranceDisclosuresAbstract_9a0348c9-59f8-4e24-b4d6-1abd57ec7734" xlink:to="loc_us-gaap_PremiumsWrittenNetConsolidatedAbstract_94cdeea3-b51d-491b-8319-b5fe7563f07e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DirectPremiumsWritten_81af31e5-f67d-4372-8447-d99d6ad350fb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DirectPremiumsWritten"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PremiumsWrittenNetConsolidatedAbstract_94cdeea3-b51d-491b-8319-b5fe7563f07e" xlink:to="loc_us-gaap_DirectPremiumsWritten_81af31e5-f67d-4372-8447-d99d6ad350fb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CededPremiumsWritten_d92f0603-4364-4596-89db-d6b9c24e3e3e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CededPremiumsWritten"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PremiumsWrittenNetConsolidatedAbstract_94cdeea3-b51d-491b-8319-b5fe7563f07e" xlink:to="loc_us-gaap_CededPremiumsWritten_d92f0603-4364-4596-89db-d6b9c24e3e3e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PremiumsWrittenNet_b1b88743-ebc1-49e6-bde9-096a1d5366f5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PremiumsWrittenNet"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PremiumsWrittenNetConsolidatedAbstract_94cdeea3-b51d-491b-8319-b5fe7563f07e" xlink:to="loc_us-gaap_PremiumsWrittenNet_b1b88743-ebc1-49e6-bde9-096a1d5366f5" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentNetAmountAbstract_80865186-3ed5-42a7-87c2-d7e789e82cdb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentNetAmountAbstract"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReinsuranceDisclosuresAbstract_9a0348c9-59f8-4e24-b4d6-1abd57ec7734" xlink:to="loc_us-gaap_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentNetAmountAbstract_80865186-3ed5-42a7-87c2-d7e789e82cdb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DirectPremiumsEarned_72744531-13dc-4608-93cc-82f94c1c2374" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DirectPremiumsEarned"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentNetAmountAbstract_80865186-3ed5-42a7-87c2-d7e789e82cdb" xlink:to="loc_us-gaap_DirectPremiumsEarned_72744531-13dc-4608-93cc-82f94c1c2374" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CededPremiumsEarned_c6875529-f425-4494-8700-0d8807ccd8bf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CededPremiumsEarned"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentNetAmountAbstract_80865186-3ed5-42a7-87c2-d7e789e82cdb" xlink:to="loc_us-gaap_CededPremiumsEarned_c6875529-f425-4494-8700-0d8807ccd8bf" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PremiumsEarnedNet_2867b24e-bb6c-4117-a15c-40ca14ea5d9b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PremiumsEarnedNet"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentNetAmountAbstract_80865186-3ed5-42a7-87c2-d7e789e82cdb" xlink:to="loc_us-gaap_PremiumsEarnedNet_2867b24e-bb6c-4117-a15c-40ca14ea5d9b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/ReinsuranceNarrativeDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#ReinsuranceNarrativeDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/ReinsuranceNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReinsuranceDisclosuresAbstract_6dfee641-b0e4-4e8f-a7e3-0111f11d9522" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReinsuranceDisclosuresAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CededCreditRiskTable_e31add31-b957-4509-85a6-6118772c1dce" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CededCreditRiskTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReinsuranceDisclosuresAbstract_6dfee641-b0e4-4e8f-a7e3-0111f11d9522" xlink:to="loc_us-gaap_CededCreditRiskTable_e31add31-b957-4509-85a6-6118772c1dce" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CededCreditRiskAxis_70e6713f-d30e-45ca-85ca-a25d9774d0cd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CededCreditRiskAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskTable_e31add31-b957-4509-85a6-6118772c1dce" xlink:to="loc_us-gaap_CededCreditRiskAxis_70e6713f-d30e-45ca-85ca-a25d9774d0cd" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CededCreditRiskReinsurerDomain_ecc2e65d-dfce-4df6-946c-92b2439cee7c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CededCreditRiskReinsurerDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskAxis_70e6713f-d30e-45ca-85ca-a25d9774d0cd" xlink:to="loc_us-gaap_CededCreditRiskReinsurerDomain_ecc2e65d-dfce-4df6-946c-92b2439cee7c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_ThirdPartyReinsurersMember_27f40253-1d84-4d6b-ba03-ff2c4d82ea19" xlink:href="nmih-20231231.xsd#nmih_ThirdPartyReinsurersMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskReinsurerDomain_ecc2e65d-dfce-4df6-946c-92b2439cee7c" xlink:to="loc_nmih_ThirdPartyReinsurersMember_27f40253-1d84-4d6b-ba03-ff2c4d82ea19" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_2b055050-f27d-49b3-a9ff-606f474d4ee8" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeAxis"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskTable_e31add31-b957-4509-85a6-6118772c1dce" xlink:to="loc_srt_RangeAxis_2b055050-f27d-49b3-a9ff-606f474d4ee8" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_8f31f258-9da8-49d2-866b-9b080b7f7067" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeAxis_2b055050-f27d-49b3-a9ff-606f474d4ee8" xlink:to="loc_srt_RangeMember_8f31f258-9da8-49d2-866b-9b080b7f7067" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_bce70bba-0b18-4e23-9f41-c0fb148f0f06" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MaximumMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_8f31f258-9da8-49d2-866b-9b080b7f7067" xlink:to="loc_srt_MaximumMember_bce70bba-0b18-4e23-9f41-c0fb148f0f06" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_859b308a-afd0-4451-8559-e433e4c4f81c" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MinimumMember"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_8f31f258-9da8-49d2-866b-9b080b7f7067" xlink:to="loc_srt_MinimumMember_859b308a-afd0-4451-8559-e433e4c4f81c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReinsuranceContractAxis_76de4c5e-4590-4ebe-bf5d-855a85587c5c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReinsuranceContractAxis"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskTable_e31add31-b957-4509-85a6-6118772c1dce" xlink:to="loc_us-gaap_ReinsuranceContractAxis_76de4c5e-4590-4ebe-bf5d-855a85587c5c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_761b131a-b456-439e-ae56-64fd19353914" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskTable_e31add31-b957-4509-85a6-6118772c1dce" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_761b131a-b456-439e-ae56-64fd19353914" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_975b6bfa-5e91-486c-8082-bb0dd98199d6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_761b131a-b456-439e-ae56-64fd19353914" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_975b6bfa-5e91-486c-8082-bb0dd98199d6" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_16e226e7-5112-444b-a8b9-1d8bba575fc4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_975b6bfa-5e91-486c-8082-bb0dd98199d6" xlink:to="loc_us-gaap_SubsequentEventMember_16e226e7-5112-444b-a8b9-1d8bba575fc4" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CededCreditRiskLineItems_d33733ea-99a5-405e-bbf5-59517ed87dd8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CededCreditRiskLineItems"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskTable_e31add31-b957-4509-85a6-6118772c1dce" xlink:to="loc_us-gaap_CededCreditRiskLineItems_d33733ea-99a5-405e-bbf5-59517ed87dd8" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_AnticipatedOperatingExpensePaymentsAnnual_504d22f6-a6eb-4c46-93f7-18edf5ea7520" xlink:href="nmih-20231231.xsd#nmih_AnticipatedOperatingExpensePaymentsAnnual"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskLineItems_d33733ea-99a5-405e-bbf5-59517ed87dd8" xlink:to="loc_nmih_AnticipatedOperatingExpensePaymentsAnnual_504d22f6-a6eb-4c46-93f7-18edf5ea7520" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_ReinsuranceRetentionRiskPremiumsPaid_b8f3ca6a-0253-4df8-92aa-a49f82f3b7f7" xlink:href="nmih-20231231.xsd#nmih_ReinsuranceRetentionRiskPremiumsPaid"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskLineItems_d33733ea-99a5-405e-bbf5-59517ed87dd8" xlink:to="loc_nmih_ReinsuranceRetentionRiskPremiumsPaid_b8f3ca6a-0253-4df8-92aa-a49f82f3b7f7" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_ReinsuranceRetentionPolicyTermOfUnderlyingMortgageAmortization_ad0bb240-937d-4f43-8f1b-d0a4e3526357" xlink:href="nmih-20231231.xsd#nmih_ReinsuranceRetentionPolicyTermOfUnderlyingMortgageAmortization"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskLineItems_d33733ea-99a5-405e-bbf5-59517ed87dd8" xlink:to="loc_nmih_ReinsuranceRetentionPolicyTermOfUnderlyingMortgageAmortization_ad0bb240-937d-4f43-8f1b-d0a4e3526357" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_ReinsuranceAgreementOptionalTerminationRightPercentOfReinsuranceCoverageThreshold_0a63791e-5ba5-4ec7-9fb3-69bb54712e95" xlink:href="nmih-20231231.xsd#nmih_ReinsuranceAgreementOptionalTerminationRightPercentOfReinsuranceCoverageThreshold"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskLineItems_d33733ea-99a5-405e-bbf5-59517ed87dd8" xlink:to="loc_nmih_ReinsuranceAgreementOptionalTerminationRightPercentOfReinsuranceCoverageThreshold_0a63791e-5ba5-4ec7-9fb3-69bb54712e95" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_e0099d04-e60f-440a-af57-be1033b645df" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedCash"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskLineItems_d33733ea-99a5-405e-bbf5-59517ed87dd8" xlink:to="loc_us-gaap_RestrictedCash_e0099d04-e60f-440a-af57-be1033b645df" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_NumberOfExcessOfLossReinsuranceAgreements_06049824-d632-44cc-ac6e-a9171eb85d1f" xlink:href="nmih-20231231.xsd#nmih_NumberOfExcessOfLossReinsuranceAgreements"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskLineItems_d33733ea-99a5-405e-bbf5-59517ed87dd8" xlink:to="loc_nmih_NumberOfExcessOfLossReinsuranceAgreements_06049824-d632-44cc-ac6e-a9171eb85d1f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_ReinsuranceRetentionPolicyCededAggregatePremiums_92658d58-c3c9-4c72-b5de-3eb6e367381e" xlink:href="nmih-20231231.xsd#nmih_ReinsuranceRetentionPolicyCededAggregatePremiums"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskLineItems_d33733ea-99a5-405e-bbf5-59517ed87dd8" xlink:to="loc_nmih_ReinsuranceRetentionPolicyCededAggregatePremiums_92658d58-c3c9-4c72-b5de-3eb6e367381e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_NumberOfQuotaShareReinsuranceTreaties_38f79776-7a5c-43f5-90a5-24bcf1bef919" xlink:href="nmih-20231231.xsd#nmih_NumberOfQuotaShareReinsuranceTreaties"/>
    <link:presentationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskLineItems_d33733ea-99a5-405e-bbf5-59517ed87dd8" xlink:to="loc_nmih_NumberOfQuotaShareReinsuranceTreaties_38f79776-7a5c-43f5-90a5-24bcf1bef919" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_PremiumsEarnedPercentOfRisk_7e592589-a2cc-435f-86cb-cd584b4d86d1" xlink:href="nmih-20231231.xsd#nmih_PremiumsEarnedPercentOfRisk"/>
    <link:presentationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskLineItems_d33733ea-99a5-405e-bbf5-59517ed87dd8" xlink:to="loc_nmih_PremiumsEarnedPercentOfRisk_7e592589-a2cc-435f-86cb-cd584b4d86d1" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_NumberOfReinsuranceEngagementsTerminated_e035dbd3-bba7-4a8b-9d66-0685cd49ad4b" xlink:href="nmih-20231231.xsd#nmih_NumberOfReinsuranceEngagementsTerminated"/>
    <link:presentationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskLineItems_d33733ea-99a5-405e-bbf5-59517ed87dd8" xlink:to="loc_nmih_NumberOfReinsuranceEngagementsTerminated_e035dbd3-bba7-4a8b-9d66-0685cd49ad4b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_PreviouslyCededPrimaryRiskInForceRecaptured_e96041a8-87e3-4d6d-b3a8-3e64edd16df3" xlink:href="nmih-20231231.xsd#nmih_PreviouslyCededPrimaryRiskInForceRecaptured"/>
    <link:presentationArc order="11" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskLineItems_d33733ea-99a5-405e-bbf5-59517ed87dd8" xlink:to="loc_nmih_PreviouslyCededPrimaryRiskInForceRecaptured_e96041a8-87e3-4d6d-b3a8-3e64edd16df3" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReinsuranceRetentionPolicyReinsuredRiskPercentage_7b173cc1-7069-4374-a2e6-43be317632f5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReinsuranceRetentionPolicyReinsuredRiskPercentage"/>
    <link:presentationArc order="12" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskLineItems_d33733ea-99a5-405e-bbf5-59517ed87dd8" xlink:to="loc_us-gaap_ReinsuranceRetentionPolicyReinsuredRiskPercentage_7b173cc1-7069-4374-a2e6-43be317632f5" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_CededCreditRiskCommissionEarnedPercentage_c18e8830-5a7f-4386-8cc5-db3fa24021ec" xlink:href="nmih-20231231.xsd#nmih_CededCreditRiskCommissionEarnedPercentage"/>
    <link:presentationArc order="13" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskLineItems_d33733ea-99a5-405e-bbf5-59517ed87dd8" xlink:to="loc_nmih_CededCreditRiskCommissionEarnedPercentage_c18e8830-5a7f-4386-8cc5-db3fa24021ec" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_CededCreditRiskProfitCommissionLossRatioOnLoansThreshold_18f06ef7-8541-44f9-9f7c-b143570221fb" xlink:href="nmih-20231231.xsd#nmih_CededCreditRiskProfitCommissionLossRatioOnLoansThreshold"/>
    <link:presentationArc order="14" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskLineItems_d33733ea-99a5-405e-bbf5-59517ed87dd8" xlink:to="loc_nmih_CededCreditRiskProfitCommissionLossRatioOnLoansThreshold_18f06ef7-8541-44f9-9f7c-b143570221fb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReinsuranceRecoverablesOnPaidAndUnpaidLosses_cbf2b3d3-dff6-4e14-805d-3129e5230a31" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReinsuranceRecoverablesOnPaidAndUnpaidLosses"/>
    <link:presentationArc order="15" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskLineItems_d33733ea-99a5-405e-bbf5-59517ed87dd8" xlink:to="loc_us-gaap_ReinsuranceRecoverablesOnPaidAndUnpaidLosses_cbf2b3d3-dff6-4e14-805d-3129e5230a31" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/ReinsuranceNarrativeDetails_1" xlink:type="simple" xlink:href="nmih-20231231.xsd#ReinsuranceNarrativeDetails_1"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/ReinsuranceNarrativeDetails_1" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.nationalmi.com/role/ReinsuranceILNTransactionsAndXOLTransactionsDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#ReinsuranceILNTransactionsAndXOLTransactionsDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/ReinsuranceILNTransactionsAndXOLTransactionsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReinsuranceDisclosuresAbstract_7a3140f0-c5a0-45c5-932d-08679ad237be" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReinsuranceDisclosuresAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsByTitleOfIndividualAndByTypeOfDeferredCompensationTable_35cba359-a580-4ce5-880c-474f8c965cbd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfDeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsByTitleOfIndividualAndByTypeOfDeferredCompensationTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReinsuranceDisclosuresAbstract_7a3140f0-c5a0-45c5-932d-08679ad237be" xlink:to="loc_us-gaap_ScheduleOfDeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsByTitleOfIndividualAndByTypeOfDeferredCompensationTable_35cba359-a580-4ce5-880c-474f8c965cbd" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReinsuranceContractAxis_5ca76245-be11-40ca-a06c-0f9baf0c16cf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReinsuranceContractAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfDeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsByTitleOfIndividualAndByTypeOfDeferredCompensationTable_35cba359-a580-4ce5-880c-474f8c965cbd" xlink:to="loc_us-gaap_ReinsuranceContractAxis_5ca76245-be11-40ca-a06c-0f9baf0c16cf" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsLineItems_b1c9e8cc-8904-415e-a772-3691b8df19b5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsLineItems"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfDeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsByTitleOfIndividualAndByTypeOfDeferredCompensationTable_35cba359-a580-4ce5-880c-474f8c965cbd" xlink:to="loc_us-gaap_DeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsLineItems_b1c9e8cc-8904-415e-a772-3691b8df19b5" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_InitialReinsuranceCoverage_9fedde8e-0ebd-46c3-9c04-7e90d1ac339b" xlink:href="nmih-20231231.xsd#nmih_InitialReinsuranceCoverage"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsLineItems_b1c9e8cc-8904-415e-a772-3691b8df19b5" xlink:to="loc_nmih_InitialReinsuranceCoverage_9fedde8e-0ebd-46c3-9c04-7e90d1ac339b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_CurrentReinsuranceCoverage_ea0fc953-90af-4f32-873b-de90b252192d" xlink:href="nmih-20231231.xsd#nmih_CurrentReinsuranceCoverage"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsLineItems_b1c9e8cc-8904-415e-a772-3691b8df19b5" xlink:to="loc_nmih_CurrentReinsuranceCoverage_ea0fc953-90af-4f32-873b-de90b252192d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_InitialFirstLayerRetainedLoss_3317fb6d-1288-4ad0-8294-bb9ba38cccaa" xlink:href="nmih-20231231.xsd#nmih_InitialFirstLayerRetainedLoss"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsLineItems_b1c9e8cc-8904-415e-a772-3691b8df19b5" xlink:to="loc_nmih_InitialFirstLayerRetainedLoss_3317fb6d-1288-4ad0-8294-bb9ba38cccaa" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_CurrentFirstLayerRetainedLoss_cd2768a9-7a9e-4a87-8659-0892e2af25d9" xlink:href="nmih-20231231.xsd#nmih_CurrentFirstLayerRetainedLoss"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsLineItems_b1c9e8cc-8904-415e-a772-3691b8df19b5" xlink:to="loc_nmih_CurrentFirstLayerRetainedLoss_cd2768a9-7a9e-4a87-8659-0892e2af25d9" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_ReinsuranceCoveragePercentageOfPopulationWithProductionPriorToPeriodStartDate_08ce0ab2-d5fe-46c4-ae16-a79bd69090f2" xlink:href="nmih-20231231.xsd#nmih_ReinsuranceCoveragePercentageOfPopulationWithProductionPriorToPeriodStartDate"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsLineItems_b1c9e8cc-8904-415e-a772-3691b8df19b5" xlink:to="loc_nmih_ReinsuranceCoveragePercentageOfPopulationWithProductionPriorToPeriodStartDate_08ce0ab2-d5fe-46c4-ae16-a79bd69090f2" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/ReinsuranceILNTransactionsAndXOLTransactionsDetails_1" xlink:type="simple" xlink:href="nmih-20231231.xsd#ReinsuranceILNTransactionsAndXOLTransactionsDetails_1"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/ReinsuranceILNTransactionsAndXOLTransactionsDetails_1" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.nationalmi.com/role/ReinsuranceAmountsCededRelatedtoQSRTransactionsDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#ReinsuranceAmountsCededRelatedtoQSRTransactionsDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/ReinsuranceAmountsCededRelatedtoQSRTransactionsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReinsuranceDisclosuresAbstract_7d4732f2-5e6e-4108-a35e-386b9a7c6a47" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReinsuranceDisclosuresAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CededCreditRiskTable_eb51b8e4-d687-447a-8d6b-e823f1d544a0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CededCreditRiskTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReinsuranceDisclosuresAbstract_7d4732f2-5e6e-4108-a35e-386b9a7c6a47" xlink:to="loc_us-gaap_CededCreditRiskTable_eb51b8e4-d687-447a-8d6b-e823f1d544a0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CededCreditRiskAxis_d51654c3-726e-4212-bd33-c0a50bc15636" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CededCreditRiskAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskTable_eb51b8e4-d687-447a-8d6b-e823f1d544a0" xlink:to="loc_us-gaap_CededCreditRiskAxis_d51654c3-726e-4212-bd33-c0a50bc15636" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CededCreditRiskReinsurerDomain_841eb008-8f22-4240-818a-26e142aa3327" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CededCreditRiskReinsurerDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskAxis_d51654c3-726e-4212-bd33-c0a50bc15636" xlink:to="loc_us-gaap_CededCreditRiskReinsurerDomain_841eb008-8f22-4240-818a-26e142aa3327" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_ThirdPartyReinsurersMember_05a17987-2a9b-44e4-9e9b-e5220b23abf0" xlink:href="nmih-20231231.xsd#nmih_ThirdPartyReinsurersMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskReinsurerDomain_841eb008-8f22-4240-818a-26e142aa3327" xlink:to="loc_nmih_ThirdPartyReinsurersMember_05a17987-2a9b-44e4-9e9b-e5220b23abf0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CededCreditRiskLineItems_5544f34e-7701-452f-9ecf-949631fe01a5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CededCreditRiskLineItems"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskTable_eb51b8e4-d687-447a-8d6b-e823f1d544a0" xlink:to="loc_us-gaap_CededCreditRiskLineItems_5544f34e-7701-452f-9ecf-949631fe01a5" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_RiskInForceCeded_49c3f483-f71a-400d-907c-6dcb60b4710c" xlink:href="nmih-20231231.xsd#nmih_RiskInForceCeded"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskLineItems_5544f34e-7701-452f-9ecf-949631fe01a5" xlink:to="loc_nmih_RiskInForceCeded_49c3f483-f71a-400d-907c-6dcb60b4710c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CededPremiumsEarned_da818be0-1143-4898-a604-a61e0711ec19" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CededPremiumsEarned"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskLineItems_5544f34e-7701-452f-9ecf-949631fe01a5" xlink:to="loc_us-gaap_CededPremiumsEarned_da818be0-1143-4898-a604-a61e0711ec19" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_ReinsuranceCededClaimsandClaimsExpenses_5763fbba-2f82-4e78-9680-7daefc06b049" xlink:href="nmih-20231231.xsd#nmih_ReinsuranceCededClaimsandClaimsExpenses"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskLineItems_5544f34e-7701-452f-9ecf-949631fe01a5" xlink:to="loc_nmih_ReinsuranceCededClaimsandClaimsExpenses_5763fbba-2f82-4e78-9680-7daefc06b049" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_ReinsuranceCedingCommissionEarned_8f9d43e3-016c-438e-8cee-173d8dbd087a" xlink:href="nmih-20231231.xsd#nmih_ReinsuranceCedingCommissionEarned"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskLineItems_5544f34e-7701-452f-9ecf-949631fe01a5" xlink:to="loc_nmih_ReinsuranceCedingCommissionEarned_8f9d43e3-016c-438e-8cee-173d8dbd087a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_ReinsuranceProfitCommission_bac16017-14cc-4556-86d5-443c541ed361" xlink:href="nmih-20231231.xsd#nmih_ReinsuranceProfitCommission"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskLineItems_5544f34e-7701-452f-9ecf-949631fe01a5" xlink:to="loc_nmih_ReinsuranceProfitCommission_bac16017-14cc-4556-86d5-443c541ed361" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/ReservesforInsuranceClaimsandClaimExpensesNarrativeDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#ReservesforInsuranceClaimsandClaimExpensesNarrativeDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/ReservesforInsuranceClaimsandClaimExpensesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InsuranceAbstract_8dc33b0b-c441-4c39-9cbe-43946351beb8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InsuranceAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseTable_4c3841e5-86ac-490a-a339-78f32bdba013" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InsuranceAbstract_8dc33b0b-c441-4c39-9cbe-43946351beb8" xlink:to="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseTable_4c3841e5-86ac-490a-a339-78f32bdba013" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReinsuranceContractAxis_513ee040-1701-4ce1-bd96-640feacb24aa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReinsuranceContractAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseTable_4c3841e5-86ac-490a-a339-78f32bdba013" xlink:to="loc_us-gaap_ReinsuranceContractAxis_513ee040-1701-4ce1-bd96-640feacb24aa" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseLineItems_548f77ff-f937-43b7-b2aa-e6dcf781005e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseLineItems"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseTable_4c3841e5-86ac-490a-a339-78f32bdba013" xlink:to="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseLineItems_548f77ff-f937-43b7-b2aa-e6dcf781005e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense_ee4781c0-d501-4688-97f9-6d01e3c8e68a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseLineItems_548f77ff-f937-43b7-b2aa-e6dcf781005e" xlink:to="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense_ee4781c0-d501-4688-97f9-6d01e3c8e68a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_LiabilityforPaidClaimsandClaimsAdjustmentExpenseNumberofPaidClaims_20ed64e7-ff45-45d6-afd1-bb1530d084aa" xlink:href="nmih-20231231.xsd#nmih_LiabilityforPaidClaimsandClaimsAdjustmentExpenseNumberofPaidClaims"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseLineItems_548f77ff-f937-43b7-b2aa-e6dcf781005e" xlink:to="loc_nmih_LiabilityforPaidClaimsandClaimsAdjustmentExpenseNumberofPaidClaims_20ed64e7-ff45-45d6-afd1-bb1530d084aa" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_LiabilityforUnpaidClaimsandClaimsAdjustmentExpenseClaimsPaidIncludingAmountsCoveredByInsurance_16283f5b-980e-4e6b-968e-9acdcc3d68a9" xlink:href="nmih-20231231.xsd#nmih_LiabilityforUnpaidClaimsandClaimsAdjustmentExpenseClaimsPaidIncludingAmountsCoveredByInsurance"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseLineItems_548f77ff-f937-43b7-b2aa-e6dcf781005e" xlink:to="loc_nmih_LiabilityforUnpaidClaimsandClaimsAdjustmentExpenseClaimsPaidIncludingAmountsCoveredByInsurance_16283f5b-980e-4e6b-968e-9acdcc3d68a9" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_LiabilityforPaidClaimsandClaimsAdjustmentExpenseNumberofCoveredClaimsIncludedInNumberofPaidClaims_f372d4cc-8eb8-43d8-a6b7-277b9ca820f2" xlink:href="nmih-20231231.xsd#nmih_LiabilityforPaidClaimsandClaimsAdjustmentExpenseNumberofCoveredClaimsIncludedInNumberofPaidClaims"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseLineItems_548f77ff-f937-43b7-b2aa-e6dcf781005e" xlink:to="loc_nmih_LiabilityforPaidClaimsandClaimsAdjustmentExpenseNumberofCoveredClaimsIncludedInNumberofPaidClaims_f372d4cc-8eb8-43d8-a6b7-277b9ca820f2" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_LiabilityforUnpaidClaimsandClaimsAdjustmentExpenseClaimsPaidIncludingAmountsCoveredByInsuranceAmountUnderQSRTransaction_484bf4a6-5357-4aa8-9fc1-40569034f76d" xlink:href="nmih-20231231.xsd#nmih_LiabilityforUnpaidClaimsandClaimsAdjustmentExpenseClaimsPaidIncludingAmountsCoveredByInsuranceAmountUnderQSRTransaction"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseLineItems_548f77ff-f937-43b7-b2aa-e6dcf781005e" xlink:to="loc_nmih_LiabilityforUnpaidClaimsandClaimsAdjustmentExpenseClaimsPaidIncludingAmountsCoveredByInsuranceAmountUnderQSRTransaction_484bf4a6-5357-4aa8-9fc1-40569034f76d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredButNotReportedIBNRClaimsNumberOfPrimaryLoansInDefault_fccc7624-43ea-4cf6-a2d2-1de2a61a2310" xlink:href="nmih-20231231.xsd#nmih_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredButNotReportedIBNRClaimsNumberOfPrimaryLoansInDefault"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseLineItems_548f77ff-f937-43b7-b2aa-e6dcf781005e" xlink:to="loc_nmih_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredButNotReportedIBNRClaimsNumberOfPrimaryLoansInDefault_fccc7624-43ea-4cf6-a2d2-1de2a61a2310" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredButNotReportedIBNRClaimsNumberOfPrimaryLoansInDefaultPercentOfTotalPoliciesInForce_ef13e5fb-223c-42ea-bd03-e105982e0db0" xlink:href="nmih-20231231.xsd#nmih_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredButNotReportedIBNRClaimsNumberOfPrimaryLoansInDefaultPercentOfTotalPoliciesInForce"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseLineItems_548f77ff-f937-43b7-b2aa-e6dcf781005e" xlink:to="loc_nmih_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredButNotReportedIBNRClaimsNumberOfPrimaryLoansInDefaultPercentOfTotalPoliciesInForce_ef13e5fb-223c-42ea-bd03-e105982e0db0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredButNotReportedIBNRClaimsTotalPoliciesInForce_1e4d892d-fb1d-4819-9473-5cc52b0a2c31" xlink:href="nmih-20231231.xsd#nmih_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredButNotReportedIBNRClaimsTotalPoliciesInForce"/>
    <link:presentationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseLineItems_548f77ff-f937-43b7-b2aa-e6dcf781005e" xlink:to="loc_nmih_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredButNotReportedIBNRClaimsTotalPoliciesInForce_1e4d892d-fb1d-4819-9473-5cc52b0a2c31" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_PriorYearClaimsAndClaimsAdjustmentExpenseFavorableDevelopmentOnPriorYearDefaults_1a4fa64a-05a6-41e4-8966-b93e83866864" xlink:href="nmih-20231231.xsd#nmih_PriorYearClaimsAndClaimsAdjustmentExpenseFavorableDevelopmentOnPriorYearDefaults"/>
    <link:presentationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseLineItems_548f77ff-f937-43b7-b2aa-e6dcf781005e" xlink:to="loc_nmih_PriorYearClaimsAndClaimsAdjustmentExpenseFavorableDevelopmentOnPriorYearDefaults_1a4fa64a-05a6-41e4-8966-b93e83866864" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_LiabilityforPriorYearClaimsandClaimsAdjustmentExpense_dc478a06-dc3b-4d41-ac38-9ffe24a52439" xlink:href="nmih-20231231.xsd#nmih_LiabilityforPriorYearClaimsandClaimsAdjustmentExpense"/>
    <link:presentationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseLineItems_548f77ff-f937-43b7-b2aa-e6dcf781005e" xlink:to="loc_nmih_LiabilityforPriorYearClaimsandClaimsAdjustmentExpense_dc478a06-dc3b-4d41-ac38-9ffe24a52439" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/ReservesforInsuranceClaimsandClaimExpensesNarrativeDetails_1" xlink:type="simple" xlink:href="nmih-20231231.xsd#ReservesforInsuranceClaimsandClaimExpensesNarrativeDetails_1"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/ReservesforInsuranceClaimsandClaimExpensesNarrativeDetails_1" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.nationalmi.com/role/ReservesforInsuranceClaimsandClaimExpensesReconciliationofReserveBalancesforInsuranceClaimsandClaimExpensesBenefitsDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#ReservesforInsuranceClaimsandClaimExpensesReconciliationofReserveBalancesforInsuranceClaimsandClaimExpensesBenefitsDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/ReservesforInsuranceClaimsandClaimExpensesReconciliationofReserveBalancesforInsuranceClaimsandClaimExpensesBenefitsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InsuranceAbstract_482e07bd-b488-47fb-ac41-def554913277" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InsuranceAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseTable_bacd2d95-c6da-45a0-a393-78a9f1d5bef7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InsuranceAbstract_482e07bd-b488-47fb-ac41-def554913277" xlink:to="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseTable_bacd2d95-c6da-45a0-a393-78a9f1d5bef7" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReinsuranceContractAxis_b0f35473-8554-48ce-a569-ae0101613bb1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReinsuranceContractAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseTable_bacd2d95-c6da-45a0-a393-78a9f1d5bef7" xlink:to="loc_us-gaap_ReinsuranceContractAxis_b0f35473-8554-48ce-a569-ae0101613bb1" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseLineItems_7036e850-6850-41aa-a578-7469deeaab60" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseLineItems"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseTable_bacd2d95-c6da-45a0-a393-78a9f1d5bef7" xlink:to="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseLineItems_7036e850-6850-41aa-a578-7469deeaab60" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNetAbstract_572a248c-6e75-44b1-97d9-95216381c44b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNetAbstract"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseLineItems_7036e850-6850-41aa-a578-7469deeaab60" xlink:to="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNetAbstract_572a248c-6e75-44b1-97d9-95216381c44b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense_0fa1bc07-8a31-443d-9fc6-c7868b14e332" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNetAbstract_572a248c-6e75-44b1-97d9-95216381c44b" xlink:to="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense_0fa1bc07-8a31-443d-9fc6-c7868b14e332" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReinsuranceRecoverablesOnPaidAndUnpaidLosses_0d51ace0-80b7-42da-bccc-085adac24fb7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReinsuranceRecoverablesOnPaidAndUnpaidLosses"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNetAbstract_572a248c-6e75-44b1-97d9-95216381c44b" xlink:to="loc_us-gaap_ReinsuranceRecoverablesOnPaidAndUnpaidLosses_0d51ace0-80b7-42da-bccc-085adac24fb7" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedPeriodStartLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNet_002a9c5b-7b5b-4389-bc5b-ed6995c06e74" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNet"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNetAbstract_572a248c-6e75-44b1-97d9-95216381c44b" xlink:to="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNet_002a9c5b-7b5b-4389-bc5b-ed6995c06e74" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaimsAbstract_f1a00b21-77ee-4756-b0a6-25d37526517a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaimsAbstract"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNetAbstract_572a248c-6e75-44b1-97d9-95216381c44b" xlink:to="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaimsAbstract_f1a00b21-77ee-4756-b0a6-25d37526517a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersCurrentYearClaimsAndClaimsAdjustmentExpense_5ea3eb01-a50b-4ce5-ba2d-434a456b9d6f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersCurrentYearClaimsAndClaimsAdjustmentExpense"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaimsAbstract_f1a00b21-77ee-4756-b0a6-25d37526517a" xlink:to="loc_us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersCurrentYearClaimsAndClaimsAdjustmentExpense_5ea3eb01-a50b-4ce5-ba2d-434a456b9d6f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersPriorYearClaimsAndClaimsAdjustmentExpense_318db24f-afe2-40b7-95af-d338e39476af" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersPriorYearClaimsAndClaimsAdjustmentExpense"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaimsAbstract_f1a00b21-77ee-4756-b0a6-25d37526517a" xlink:to="loc_us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersPriorYearClaimsAndClaimsAdjustmentExpense_318db24f-afe2-40b7-95af-d338e39476af" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaims1_028a9ac8-4f82-45de-9fc1-b21a230f4fee" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaims1"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaimsAbstract_f1a00b21-77ee-4756-b0a6-25d37526517a" xlink:to="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaims1_028a9ac8-4f82-45de-9fc1-b21a230f4fee" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidAbstract_42076120-0338-48f4-a181-927a351f07c8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidAbstract"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNetAbstract_572a248c-6e75-44b1-97d9-95216381c44b" xlink:to="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidAbstract_42076120-0338-48f4-a181-927a351f07c8" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidCurrentYear1_6785edc0-2789-462d-a6fb-3888edfbf390" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidCurrentYear1"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidAbstract_42076120-0338-48f4-a181-927a351f07c8" xlink:to="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidCurrentYear1_6785edc0-2789-462d-a6fb-3888edfbf390" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidPriorYears1_e4006c57-d7ff-40b9-86f5-973fccfae8b7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidPriorYears1"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidAbstract_42076120-0338-48f4-a181-927a351f07c8" xlink:to="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidPriorYears1_e4006c57-d7ff-40b9-86f5-973fccfae8b7" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidReinsuranceTerminations_7b809be9-a012-42fe-8bea-46bab193bab9" xlink:href="nmih-20231231.xsd#nmih_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidReinsuranceTerminations"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidAbstract_42076120-0338-48f4-a181-927a351f07c8" xlink:to="loc_nmih_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidReinsuranceTerminations_7b809be9-a012-42fe-8bea-46bab193bab9" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForLossesAndLossAdjustmentExpense_c21f1551-e7a0-4959-92f4-e94097cb39d0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForLossesAndLossAdjustmentExpense"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidAbstract_42076120-0338-48f4-a181-927a351f07c8" xlink:to="loc_us-gaap_PaymentsForLossesAndLossAdjustmentExpense_c21f1551-e7a0-4959-92f4-e94097cb39d0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNet_35bd2471-a932-48f7-9d85-0dfd0cd839fb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNet"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNetAbstract_572a248c-6e75-44b1-97d9-95216381c44b" xlink:to="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNet_35bd2471-a932-48f7-9d85-0dfd0cd839fb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReinsuranceRecoverablesOnPaidAndUnpaidLosses_0c026fe9-f259-4731-be49-7031c34441cd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReinsuranceRecoverablesOnPaidAndUnpaidLosses"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNetAbstract_572a248c-6e75-44b1-97d9-95216381c44b" xlink:to="loc_us-gaap_ReinsuranceRecoverablesOnPaidAndUnpaidLosses_0c026fe9-f259-4731-be49-7031c34441cd" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense_9db8357a-4398-4af3-87ae-c084e86e2eb7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense"/>
    <link:presentationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNetAbstract_572a248c-6e75-44b1-97d9-95216381c44b" xlink:to="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense_9db8357a-4398-4af3-87ae-c084e86e2eb7" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_CurrentYearClaimsAndClaimsAdjustmentExpenseCaseReserves_117bbb87-0664-4715-b16a-f5ebfe498e18" xlink:href="nmih-20231231.xsd#nmih_CurrentYearClaimsAndClaimsAdjustmentExpenseCaseReserves"/>
    <link:presentationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNetAbstract_572a248c-6e75-44b1-97d9-95216381c44b" xlink:to="loc_nmih_CurrentYearClaimsAndClaimsAdjustmentExpenseCaseReserves_117bbb87-0664-4715-b16a-f5ebfe498e18" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_CurrentYearClaimsAndClaimsAdjustmentExpenseIncurredButNotReported_a3369ae4-879a-4878-a175-74b821da9e39" xlink:href="nmih-20231231.xsd#nmih_CurrentYearClaimsAndClaimsAdjustmentExpenseIncurredButNotReported"/>
    <link:presentationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNetAbstract_572a248c-6e75-44b1-97d9-95216381c44b" xlink:to="loc_nmih_CurrentYearClaimsAndClaimsAdjustmentExpenseIncurredButNotReported_a3369ae4-879a-4878-a175-74b821da9e39" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_PriorYearClaimsAndClaimsAdjustmentExpenseCaseReserves_73cea129-de6f-46f9-8519-02790cc6ea3f" xlink:href="nmih-20231231.xsd#nmih_PriorYearClaimsAndClaimsAdjustmentExpenseCaseReserves"/>
    <link:presentationArc order="11" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNetAbstract_572a248c-6e75-44b1-97d9-95216381c44b" xlink:to="loc_nmih_PriorYearClaimsAndClaimsAdjustmentExpenseCaseReserves_73cea129-de6f-46f9-8519-02790cc6ea3f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_PriorYearClaimsAndClaimsAdjustmentExpenseIncurredButNotReported_11b14219-d5e4-493a-aa9f-c410da4ade15" xlink:href="nmih-20231231.xsd#nmih_PriorYearClaimsAndClaimsAdjustmentExpenseIncurredButNotReported"/>
    <link:presentationArc order="12" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNetAbstract_572a248c-6e75-44b1-97d9-95216381c44b" xlink:to="loc_nmih_PriorYearClaimsAndClaimsAdjustmentExpenseIncurredButNotReported_11b14219-d5e4-493a-aa9f-c410da4ade15" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/ReservesforInsuranceClaimsandClaimExpensesReconciliationofReserveBalancesforInsuranceClaimsandClaimExpensesBenefitsDetails_1" xlink:type="simple" xlink:href="nmih-20231231.xsd#ReservesforInsuranceClaimsandClaimExpensesReconciliationofReserveBalancesforInsuranceClaimsandClaimExpensesBenefitsDetails_1"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/ReservesforInsuranceClaimsandClaimExpensesReconciliationofReserveBalancesforInsuranceClaimsandClaimExpensesBenefitsDetails_1" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.nationalmi.com/role/ReservesforInsuranceClaimsandClaimExpensesClaimDevelopmentbyAccidentYearandReconciliationofReserveforInsuranceClaimsandClaimsExpenseDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#ReservesforInsuranceClaimsandClaimExpensesClaimDevelopmentbyAccidentYearandReconciliationofReserveforInsuranceClaimsandClaimsExpenseDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/ReservesforInsuranceClaimsandClaimExpensesClaimDevelopmentbyAccidentYearandReconciliationofReserveforInsuranceClaimsandClaimsExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InsuranceAbstract_43dc4c50-6d7e-4f2b-a9fa-2b763ef9cd76" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InsuranceAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsClaimsDevelopmentTable_11d5d218-ec6a-4fc3-93e1-d4a06c2604ab" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsClaimsDevelopmentTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InsuranceAbstract_43dc4c50-6d7e-4f2b-a9fa-2b763ef9cd76" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsClaimsDevelopmentTable_11d5d218-ec6a-4fc3-93e1-d4a06c2604ab" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_29c68a34-2018-4c38-8e8a-8b1ef1ee13a8" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ProductOrServiceAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsClaimsDevelopmentTable_11d5d218-ec6a-4fc3-93e1-d4a06c2604ab" xlink:to="loc_srt_ProductOrServiceAxis_29c68a34-2018-4c38-8e8a-8b1ef1ee13a8" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_dd06b138-14a5-44ba-a9d6-ddbb4c4abb8d" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ProductsAndServicesDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ProductOrServiceAxis_29c68a34-2018-4c38-8e8a-8b1ef1ee13a8" xlink:to="loc_srt_ProductsAndServicesDomain_dd06b138-14a5-44ba-a9d6-ddbb4c4abb8d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialGuaranteeInsuranceSegmentMember_83f95b03-518c-489f-8c7d-5f9928307f57" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialGuaranteeInsuranceSegmentMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ProductsAndServicesDomain_dd06b138-14a5-44ba-a9d6-ddbb4c4abb8d" xlink:to="loc_us-gaap_FinancialGuaranteeInsuranceSegmentMember_83f95b03-518c-489f-8c7d-5f9928307f57" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsAccidentYearAxis_78d20702-ddeb-4d58-9c01-b9489199b3be" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsAccidentYearAxis"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsClaimsDevelopmentTable_11d5d218-ec6a-4fc3-93e1-d4a06c2604ab" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsAccidentYearAxis_78d20702-ddeb-4d58-9c01-b9489199b3be" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsAccidentYearDomain_ab66c389-73c0-465d-aaeb-831a1ba5d159" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsAccidentYearDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsAccidentYearAxis_78d20702-ddeb-4d58-9c01-b9489199b3be" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsAccidentYearDomain_ab66c389-73c0-465d-aaeb-831a1ba5d159" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsAccidentYear2014Member_40549527-980a-4414-bf40-5e1ee6826e55" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsAccidentYear2014Member"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsAccidentYearDomain_ab66c389-73c0-465d-aaeb-831a1ba5d159" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsAccidentYear2014Member_40549527-980a-4414-bf40-5e1ee6826e55" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsAccidentYear2015Member_29b35248-70e5-489a-a3fa-6a2ae2ff0038" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsAccidentYear2015Member"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsAccidentYearDomain_ab66c389-73c0-465d-aaeb-831a1ba5d159" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsAccidentYear2015Member_29b35248-70e5-489a-a3fa-6a2ae2ff0038" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsAccidentYear2016Member_9b3f8a81-087c-49d8-ae54-0967b2cdba7d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsAccidentYear2016Member"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsAccidentYearDomain_ab66c389-73c0-465d-aaeb-831a1ba5d159" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsAccidentYear2016Member_9b3f8a81-087c-49d8-ae54-0967b2cdba7d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortDurationInsuranceContractsAccidentYear2017Member_940d8c27-8274-4083-ad88-e21a63c88a37" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortDurationInsuranceContractsAccidentYear2017Member"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsAccidentYearDomain_ab66c389-73c0-465d-aaeb-831a1ba5d159" xlink:to="loc_us-gaap_ShortDurationInsuranceContractsAccidentYear2017Member_940d8c27-8274-4083-ad88-e21a63c88a37" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortDurationInsuranceContractsAccidentYear2018Member_5e1a644f-4586-48c1-8c54-7854b9da7ad7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortDurationInsuranceContractsAccidentYear2018Member"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsAccidentYearDomain_ab66c389-73c0-465d-aaeb-831a1ba5d159" xlink:to="loc_us-gaap_ShortDurationInsuranceContractsAccidentYear2018Member_5e1a644f-4586-48c1-8c54-7854b9da7ad7" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortDurationInsuranceContractAccidentYear2019Member_1e7a1599-ef21-499a-aad2-bf8724b1c8e8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortDurationInsuranceContractAccidentYear2019Member"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsAccidentYearDomain_ab66c389-73c0-465d-aaeb-831a1ba5d159" xlink:to="loc_us-gaap_ShortDurationInsuranceContractAccidentYear2019Member_1e7a1599-ef21-499a-aad2-bf8724b1c8e8" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortDurationInsuranceContractAccidentYear2020Member_9dc5e686-e62e-4e3e-ab34-76f93f4a6819" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortDurationInsuranceContractAccidentYear2020Member"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsAccidentYearDomain_ab66c389-73c0-465d-aaeb-831a1ba5d159" xlink:to="loc_us-gaap_ShortDurationInsuranceContractAccidentYear2020Member_9dc5e686-e62e-4e3e-ab34-76f93f4a6819" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortDurationInsuranceContractAccidentYear2021Member_9a9811ee-605e-4e1a-80fd-0bd39f9d0468" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortDurationInsuranceContractAccidentYear2021Member"/>
    <link:presentationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsAccidentYearDomain_ab66c389-73c0-465d-aaeb-831a1ba5d159" xlink:to="loc_us-gaap_ShortDurationInsuranceContractAccidentYear2021Member_9a9811ee-605e-4e1a-80fd-0bd39f9d0468" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortDurationInsuranceContractAccidentYear2022Member_1ea6a2b3-a11e-4a52-ab9b-6ffab641e0de" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortDurationInsuranceContractAccidentYear2022Member"/>
    <link:presentationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsAccidentYearDomain_ab66c389-73c0-465d-aaeb-831a1ba5d159" xlink:to="loc_us-gaap_ShortDurationInsuranceContractAccidentYear2022Member_1ea6a2b3-a11e-4a52-ab9b-6ffab641e0de" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortDurationInsuranceContractAccidentYear2023Member_7153dfc0-618d-4936-b776-8932393bb24f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortDurationInsuranceContractAccidentYear2023Member"/>
    <link:presentationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsAccidentYearDomain_ab66c389-73c0-465d-aaeb-831a1ba5d159" xlink:to="loc_us-gaap_ShortDurationInsuranceContractAccidentYear2023Member_7153dfc0-618d-4936-b776-8932393bb24f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClaimsDevelopmentLineItems_3ff1aff5-3ee7-4855-98af-ee04fbdb34a2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClaimsDevelopmentLineItems"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsClaimsDevelopmentTable_11d5d218-ec6a-4fc3-93e1-d4a06c2604ab" xlink:to="loc_us-gaap_ClaimsDevelopmentLineItems_3ff1aff5-3ee7-4855-98af-ee04fbdb34a2" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsIncurredClaimsAndAllocatedClaimAdjustmentExpenseNet_5b0e398c-54f4-4384-a267-665ee22a07e1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsIncurredClaimsAndAllocatedClaimAdjustmentExpenseNet"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ClaimsDevelopmentLineItems_3ff1aff5-3ee7-4855-98af-ee04fbdb34a2" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsIncurredClaimsAndAllocatedClaimAdjustmentExpenseNet_5b0e398c-54f4-4384-a267-665ee22a07e1" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsIncurredButNotReportedIbnrClaimsLiabilityNet_01eaf143-715e-401e-9dc6-9d10f730a2f6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsIncurredButNotReportedIbnrClaimsLiabilityNet"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ClaimsDevelopmentLineItems_3ff1aff5-3ee7-4855-98af-ee04fbdb34a2" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsIncurredButNotReportedIbnrClaimsLiabilityNet_01eaf143-715e-401e-9dc6-9d10f730a2f6" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsNumberOfReportedClaims_15d09e48-dbd8-4864-b5e5-5e5f92cd5b79" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsNumberOfReportedClaims"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ClaimsDevelopmentLineItems_3ff1aff5-3ee7-4855-98af-ee04fbdb34a2" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsNumberOfReportedClaims_15d09e48-dbd8-4864-b5e5-5e5f92cd5b79" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsCumulativePaidClaimsAndAllocatedClaimAdjustmentExpenseNet_952e5f5e-0f57-43db-93c3-252b6a88ba5b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsCumulativePaidClaimsAndAllocatedClaimAdjustmentExpenseNet"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ClaimsDevelopmentLineItems_3ff1aff5-3ee7-4855-98af-ee04fbdb34a2" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsCumulativePaidClaimsAndAllocatedClaimAdjustmentExpenseNet_952e5f5e-0f57-43db-93c3-252b6a88ba5b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/ReservesforInsuranceClaimsandClaimExpensesReconciliationofDisclosureofIncurredandPaidClaimsDevelopmenttotheLiabilityforUnpaidClaimsandClaimsAdjustmentExpensesDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#ReservesforInsuranceClaimsandClaimExpensesReconciliationofDisclosureofIncurredandPaidClaimsDevelopmenttotheLiabilityforUnpaidClaimsandClaimsAdjustmentExpensesDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/ReservesforInsuranceClaimsandClaimExpensesReconciliationofDisclosureofIncurredandPaidClaimsDevelopmenttotheLiabilityforUnpaidClaimsandClaimsAdjustmentExpensesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InsuranceAbstract_4e766c78-c711-4d3d-930c-d89e43803bd8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InsuranceAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityTable_d8834136-c742-4cff-828f-516bcc12f667" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InsuranceAbstract_4e766c78-c711-4d3d-930c-d89e43803bd8" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityTable_d8834136-c742-4cff-828f-516bcc12f667" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_cc93e2bf-b9e9-405f-88e6-f37c8d6750ea" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ProductOrServiceAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityTable_d8834136-c742-4cff-828f-516bcc12f667" xlink:to="loc_srt_ProductOrServiceAxis_cc93e2bf-b9e9-405f-88e6-f37c8d6750ea" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_847df488-e4e2-4faa-9857-8032e3d9c379" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ProductsAndServicesDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ProductOrServiceAxis_cc93e2bf-b9e9-405f-88e6-f37c8d6750ea" xlink:to="loc_srt_ProductsAndServicesDomain_847df488-e4e2-4faa-9857-8032e3d9c379" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialGuaranteeInsuranceSegmentMember_c2d48bdd-4fe7-416d-93bc-46fdc4b3d9a8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialGuaranteeInsuranceSegmentMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ProductsAndServicesDomain_847df488-e4e2-4faa-9857-8032e3d9c379" xlink:to="loc_us-gaap_FinancialGuaranteeInsuranceSegmentMember_c2d48bdd-4fe7-416d-93bc-46fdc4b3d9a8" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityLineItems_0c266d6d-62e7-4513-8213-b11f80e4284d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityLineItems"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityTable_d8834136-c742-4cff-828f-516bcc12f667" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityLineItems_0c266d6d-62e7-4513-8213-b11f80e4284d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsIncurredClaimsAndAllocatedClaimAdjustmentExpenseNet_874e03d8-5faa-47c3-a5af-8c6780ab8359" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsIncurredClaimsAndAllocatedClaimAdjustmentExpenseNet"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityLineItems_0c266d6d-62e7-4513-8213-b11f80e4284d" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsIncurredClaimsAndAllocatedClaimAdjustmentExpenseNet_874e03d8-5faa-47c3-a5af-8c6780ab8359" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsCumulativePaidClaimsAndAllocatedClaimAdjustmentExpenseNet_69182e21-16f5-472a-8eab-e92863eec65d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsCumulativePaidClaimsAndAllocatedClaimAdjustmentExpenseNet"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityLineItems_0c266d6d-62e7-4513-8213-b11f80e4284d" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsCumulativePaidClaimsAndAllocatedClaimAdjustmentExpenseNet_69182e21-16f5-472a-8eab-e92863eec65d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortDurationInsuranceContractDiscountedLiabilityDiscountNetOfReinsurance_f7ec57d1-b75b-473a-9d7d-59dc7d1bae45" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortDurationInsuranceContractDiscountedLiabilityDiscountNetOfReinsurance"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityLineItems_0c266d6d-62e7-4513-8213-b11f80e4284d" xlink:to="loc_us-gaap_ShortDurationInsuranceContractDiscountedLiabilityDiscountNetOfReinsurance_f7ec57d1-b75b-473a-9d7d-59dc7d1bae45" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndAllocatedClaimAdjustmentExpenseNet_f4e3b821-7b30-43c5-ae4e-7d19b219d5fc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndAllocatedClaimAdjustmentExpenseNet"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityLineItems_0c266d6d-62e7-4513-8213-b11f80e4284d" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndAllocatedClaimAdjustmentExpenseNet_f4e3b821-7b30-43c5-ae4e-7d19b219d5fc" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReinsuranceRecoverablesOnPaidAndUnpaidLosses_aea4ac65-a021-45e6-88d8-97dbd82f8b54" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReinsuranceRecoverablesOnPaidAndUnpaidLosses"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityLineItems_0c266d6d-62e7-4513-8213-b11f80e4284d" xlink:to="loc_us-gaap_ReinsuranceRecoverablesOnPaidAndUnpaidLosses_aea4ac65-a021-45e6-88d8-97dbd82f8b54" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseAccumulatedUnallocatedClaimAdjustmentExpense_6e0af73e-a6ef-45d7-bbef-4d84fafe59d2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseAccumulatedUnallocatedClaimAdjustmentExpense"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityLineItems_0c266d6d-62e7-4513-8213-b11f80e4284d" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseAccumulatedUnallocatedClaimAdjustmentExpense_6e0af73e-a6ef-45d7-bbef-4d84fafe59d2" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense_950079c8-947a-48b4-b660-aea07e6094ac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityLineItems_0c266d6d-62e7-4513-8213-b11f80e4284d" xlink:to="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense_950079c8-947a-48b4-b660-aea07e6094ac" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/ReservesforInsuranceClaimsandClaimExpensesAverageAnnualPercentagePayoutofIncurredClaimsbyAgeNetofReinsuranceDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#ReservesforInsuranceClaimsandClaimExpensesAverageAnnualPercentagePayoutofIncurredClaimsbyAgeNetofReinsuranceDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/ReservesforInsuranceClaimsandClaimExpensesAverageAnnualPercentagePayoutofIncurredClaimsbyAgeNetofReinsuranceDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InsuranceAbstract_23675be8-4f33-47c2-ae8c-e9c54b31314d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InsuranceAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationTable_5061b8d3-0cdd-4520-95a9-8f8f2e43b517" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InsuranceAbstract_23675be8-4f33-47c2-ae8c-e9c54b31314d" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationTable_5061b8d3-0cdd-4520-95a9-8f8f2e43b517" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_9d99f69e-9ac2-4f0c-9bd7-76d8b9317d98" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ProductOrServiceAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationTable_5061b8d3-0cdd-4520-95a9-8f8f2e43b517" xlink:to="loc_srt_ProductOrServiceAxis_9d99f69e-9ac2-4f0c-9bd7-76d8b9317d98" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_13180d35-9608-42d8-9f8e-200fd974341e" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ProductsAndServicesDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ProductOrServiceAxis_9d99f69e-9ac2-4f0c-9bd7-76d8b9317d98" xlink:to="loc_srt_ProductsAndServicesDomain_13180d35-9608-42d8-9f8e-200fd974341e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialGuaranteeInsuranceSegmentMember_15ab1174-ffcb-4e84-9274-4d01b47be7db" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialGuaranteeInsuranceSegmentMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ProductsAndServicesDomain_13180d35-9608-42d8-9f8e-200fd974341e" xlink:to="loc_us-gaap_FinancialGuaranteeInsuranceSegmentMember_15ab1174-ffcb-4e84-9274-4d01b47be7db" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationLineItems_6517876a-9b37-4bd4-b467-f6b7eccc6b4c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationLineItems"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationTable_5061b8d3-0cdd-4520-95a9-8f8f2e43b517" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationLineItems_6517876a-9b37-4bd4-b467-f6b7eccc6b4c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearOne_34655b41-feff-4f7f-a866-9505b71e6ebc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearOne"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationLineItems_6517876a-9b37-4bd4-b467-f6b7eccc6b4c" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearOne_34655b41-feff-4f7f-a866-9505b71e6ebc" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearTwo_16cf2e74-b15c-4c70-8ce8-2d832fce2c4a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearTwo"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationLineItems_6517876a-9b37-4bd4-b467-f6b7eccc6b4c" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearTwo_16cf2e74-b15c-4c70-8ce8-2d832fce2c4a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearThree_3b9a6738-c3cd-4051-b670-87679f9f481a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearThree"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationLineItems_6517876a-9b37-4bd4-b467-f6b7eccc6b4c" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearThree_3b9a6738-c3cd-4051-b670-87679f9f481a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearFour_3965ff4f-5137-41e5-9d5d-6483ed15399b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearFour"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationLineItems_6517876a-9b37-4bd4-b467-f6b7eccc6b4c" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearFour_3965ff4f-5137-41e5-9d5d-6483ed15399b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearFive_669d41b8-cd47-4ea2-a402-90e42ceddafa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearFive"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationLineItems_6517876a-9b37-4bd4-b467-f6b7eccc6b4c" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearFive_669d41b8-cd47-4ea2-a402-90e42ceddafa" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearSix_984f013d-82b9-439c-b24c-e46d20d97bb4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearSix"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationLineItems_6517876a-9b37-4bd4-b467-f6b7eccc6b4c" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearSix_984f013d-82b9-439c-b24c-e46d20d97bb4" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearSeven_b0690e94-8a9c-4729-87a9-91a200061eb1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearSeven"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationLineItems_6517876a-9b37-4bd4-b467-f6b7eccc6b4c" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearSeven_b0690e94-8a9c-4729-87a9-91a200061eb1" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearEight_4306347d-33d8-4a4b-a753-e16cba3f0d54" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearEight"/>
    <link:presentationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationLineItems_6517876a-9b37-4bd4-b467-f6b7eccc6b4c" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearEight_4306347d-33d8-4a4b-a753-e16cba3f0d54" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearNine_5fb4c2fa-ff1a-40b3-98cb-a895b5cc9049" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearNine"/>
    <link:presentationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationLineItems_6517876a-9b37-4bd4-b467-f6b7eccc6b4c" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearNine_5fb4c2fa-ff1a-40b3-98cb-a895b5cc9049" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearTen_550c2f02-ef4e-4991-b1eb-f1d8b34fb53c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearTen"/>
    <link:presentationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationLineItems_6517876a-9b37-4bd4-b467-f6b7eccc6b4c" xlink:to="loc_us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearTen_550c2f02-ef4e-4991-b1eb-f1d8b34fb53c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/EarningsperShareDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#EarningsperShareDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/EarningsperShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareAbstract_800027b2-a5cc-4340-901e-840c9ae06ccd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersOperationsBasicAbstract_205b9eeb-2d0f-4983-a72f-9d2b69237135" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersOperationsBasicAbstract"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_800027b2-a5cc-4340-901e-840c9ae06ccd" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersOperationsBasicAbstract_205b9eeb-2d0f-4983-a72f-9d2b69237135" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_f601a7ea-668e-4836-ac74-cbdd9725e866" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersOperationsBasicAbstract_205b9eeb-2d0f-4983-a72f-9d2b69237135" xlink:to="loc_us-gaap_NetIncomeLoss_f601a7ea-668e-4836-ac74-cbdd9725e866" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_152cd18f-9003-4613-b07a-d2abd889ad40" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersOperationsBasicAbstract_205b9eeb-2d0f-4983-a72f-9d2b69237135" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_152cd18f-9003-4613-b07a-d2abd889ad40" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_ef7d81a8-d0c4-44f8-9319-55d230893e1b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersOperationsBasicAbstract_205b9eeb-2d0f-4983-a72f-9d2b69237135" xlink:to="loc_us-gaap_EarningsPerShareBasic_ef7d81a8-d0c4-44f8-9319-55d230893e1b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersOperationsDilutedAbstract_f30ecde3-b5f7-4fe5-95ab-b3af2ca0ca5e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersOperationsDilutedAbstract"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_800027b2-a5cc-4340-901e-840c9ae06ccd" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersOperationsDilutedAbstract_f30ecde3-b5f7-4fe5-95ab-b3af2ca0ca5e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_96c38abb-c322-4fde-a612-92998a0b15df" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersOperationsDilutedAbstract_f30ecde3-b5f7-4fe5-95ab-b3af2ca0ca5e" xlink:to="loc_us-gaap_NetIncomeLoss_96c38abb-c322-4fde-a612-92998a0b15df" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAdjustmentOfWarrants_40724754-4d6b-4f2f-abf2-a18bb136abac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAdjustmentOfWarrants"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersOperationsDilutedAbstract_f30ecde3-b5f7-4fe5-95ab-b3af2ca0ca5e" xlink:to="loc_us-gaap_FairValueAdjustmentOfWarrants_40724754-4d6b-4f2f-abf2-a18bb136abac" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToParentDiluted_36b20f52-f517-4d59-b0d7-21553abb9364" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLossAttributableToParentDiluted"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersOperationsDilutedAbstract_f30ecde3-b5f7-4fe5-95ab-b3af2ca0ca5e" xlink:to="loc_us-gaap_NetIncomeLossAttributableToParentDiluted_36b20f52-f517-4d59-b0d7-21553abb9364" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_fc82b9cd-b58e-4489-b380-f43f5e7d0e61" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersOperationsDilutedAbstract_f30ecde3-b5f7-4fe5-95ab-b3af2ca0ca5e" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_fc82b9cd-b58e-4489-b380-f43f5e7d0e61" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_14bbf4b8-4eaa-47bb-bf72-f7ce3fb8ffa1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersOperationsDilutedAbstract_f30ecde3-b5f7-4fe5-95ab-b3af2ca0ca5e" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_14bbf4b8-4eaa-47bb-bf72-f7ce3fb8ffa1" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_a5301304-270d-41e2-a866-63ce852ced24" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersOperationsDilutedAbstract_f30ecde3-b5f7-4fe5-95ab-b3af2ca0ca5e" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_a5301304-270d-41e2-a866-63ce852ced24" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_1ca381dd-2ccf-4d7b-a543-d648fac4c8d7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersOperationsDilutedAbstract_f30ecde3-b5f7-4fe5-95ab-b3af2ca0ca5e" xlink:to="loc_us-gaap_EarningsPerShareDiluted_1ca381dd-2ccf-4d7b-a543-d648fac4c8d7" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_217d6ebd-9e2a-4521-94aa-162a8e94a0cf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_800027b2-a5cc-4340-901e-840c9ae06ccd" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_217d6ebd-9e2a-4521-94aa-162a8e94a0cf" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights_80fc442d-41b4-477e-b66d-8708443800bb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_800027b2-a5cc-4340-901e-840c9ae06ccd" xlink:to="loc_us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights_80fc442d-41b4-477e-b66d-8708443800bb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WarrantsAndRightsOutstandingTerm_40f521cd-aae6-4cc2-85aa-14cbc09718b0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WarrantsAndRightsOutstandingTerm"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_800027b2-a5cc-4340-901e-840c9ae06ccd" xlink:to="loc_us-gaap_WarrantsAndRightsOutstandingTerm_40f521cd-aae6-4cc2-85aa-14cbc09718b0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightOutstanding_87ca09fd-a225-41a4-8bda-ccc117a096cf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfWarrantOrRightOutstanding"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_800027b2-a5cc-4340-901e-840c9ae06ccd" xlink:to="loc_us-gaap_ClassOfWarrantOrRightOutstanding_87ca09fd-a225-41a4-8bda-ccc117a096cf" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/ShareBasedCompensationNarrativeDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#ShareBasedCompensationNarrativeDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/ShareBasedCompensationNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_f3c88c1d-d574-4964-8f78-b9c49896cf4e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_92ec8b59-3126-40fb-a70e-fc9feb69141f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_f3c88c1d-d574-4964-8f78-b9c49896cf4e" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_92ec8b59-3126-40fb-a70e-fc9feb69141f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_95e45b39-6894-4a71-a33d-47e5f7a97eb8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PlanNameAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_92ec8b59-3126-40fb-a70e-fc9feb69141f" xlink:to="loc_us-gaap_PlanNameAxis_95e45b39-6894-4a71-a33d-47e5f7a97eb8" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_5fe7e1df-5a4f-4f0e-8cc6-36263db4b051" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PlanNameDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PlanNameAxis_95e45b39-6894-4a71-a33d-47e5f7a97eb8" xlink:to="loc_us-gaap_PlanNameDomain_5fe7e1df-5a4f-4f0e-8cc6-36263db4b051" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_The2012StockIncentivePlanMember_d616d656-453c-4750-b482-8b63c54e36fa" xlink:href="nmih-20231231.xsd#nmih_The2012StockIncentivePlanMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PlanNameDomain_5fe7e1df-5a4f-4f0e-8cc6-36263db4b051" xlink:to="loc_nmih_The2012StockIncentivePlanMember_d616d656-453c-4750-b482-8b63c54e36fa" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_NMIH2014OmnibusIncentivePlanMember_84da7938-7f1f-4225-bbaa-614d9b49d317" xlink:href="nmih-20231231.xsd#nmih_NMIH2014OmnibusIncentivePlanMember"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PlanNameDomain_5fe7e1df-5a4f-4f0e-8cc6-36263db4b051" xlink:to="loc_nmih_NMIH2014OmnibusIncentivePlanMember_84da7938-7f1f-4225-bbaa-614d9b49d317" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_0043a6bb-0a40-4733-a729-1b4f1b7d9dd8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_92ec8b59-3126-40fb-a70e-fc9feb69141f" xlink:to="loc_us-gaap_StatementClassOfStockAxis_0043a6bb-0a40-4733-a729-1b4f1b7d9dd8" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_7adb1d3c-208b-48bb-9c3b-a8b3d3b7a5dc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementClassOfStockAxis_0043a6bb-0a40-4733-a729-1b4f1b7d9dd8" xlink:to="loc_us-gaap_ClassOfStockDomain_7adb1d3c-208b-48bb-9c3b-a8b3d3b7a5dc" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_8d544754-53a2-45f4-8f3e-1dc69543bee5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassAMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ClassOfStockDomain_7adb1d3c-208b-48bb-9c3b-a8b3d3b7a5dc" xlink:to="loc_us-gaap_CommonClassAMember_8d544754-53a2-45f4-8f3e-1dc69543bee5" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_867b9079-7e78-4939-957d-7051c9600f51" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AwardTypeAxis"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_92ec8b59-3126-40fb-a70e-fc9feb69141f" xlink:to="loc_us-gaap_AwardTypeAxis_867b9079-7e78-4939-957d-7051c9600f51" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_56f12366-b809-4c80-b266-87fbd475dfa6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AwardTypeAxis_867b9079-7e78-4939-957d-7051c9600f51" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_56f12366-b809-4c80-b266-87fbd475dfa6" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_80d3c00a-56de-4dd9-b7f9-a230599fcb8a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_56f12366-b809-4c80-b266-87fbd475dfa6" xlink:to="loc_us-gaap_EmployeeStockOptionMember_80d3c00a-56de-4dd9-b7f9-a230599fcb8a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_facaa576-3945-4ddc-b3a8-5b17dcc56298" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_56f12366-b809-4c80-b266-87fbd475dfa6" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_facaa576-3945-4ddc-b3a8-5b17dcc56298" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_RestrictedStockUnitsRSUsSubjectToServiceBasedMember_02065cd8-1862-4d5e-9be3-d69794b0a610" xlink:href="nmih-20231231.xsd#nmih_RestrictedStockUnitsRSUsSubjectToServiceBasedMember"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_56f12366-b809-4c80-b266-87fbd475dfa6" xlink:to="loc_nmih_RestrictedStockUnitsRSUsSubjectToServiceBasedMember_02065cd8-1862-4d5e-9be3-d69794b0a610" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_RestrictedStockUnitsRSUsSubjectToServiceAndPerformanceBasedMember_f40247c1-2049-4f67-b052-e9b270728661" xlink:href="nmih-20231231.xsd#nmih_RestrictedStockUnitsRSUsSubjectToServiceAndPerformanceBasedMember"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_56f12366-b809-4c80-b266-87fbd475dfa6" xlink:to="loc_nmih_RestrictedStockUnitsRSUsSubjectToServiceAndPerformanceBasedMember_f40247c1-2049-4f67-b052-e9b270728661" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_e0ccf6f2-6817-4250-822d-612043760c24" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeAxis"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_92ec8b59-3126-40fb-a70e-fc9feb69141f" xlink:to="loc_srt_RangeAxis_e0ccf6f2-6817-4250-822d-612043760c24" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_58f672e2-c798-49e9-b858-0f498bc3681c" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeAxis_e0ccf6f2-6817-4250-822d-612043760c24" xlink:to="loc_srt_RangeMember_58f672e2-c798-49e9-b858-0f498bc3681c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_b66557cd-14f2-4b7e-a0e7-2783793d5ddb" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MinimumMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_58f672e2-c798-49e9-b858-0f498bc3681c" xlink:to="loc_srt_MinimumMember_b66557cd-14f2-4b7e-a0e7-2783793d5ddb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_a113c4b6-f504-48d4-a4d6-e3bc6137e633" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MaximumMember"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_58f672e2-c798-49e9-b858-0f498bc3681c" xlink:to="loc_srt_MaximumMember_a113c4b6-f504-48d4-a4d6-e3bc6137e633" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2a1a3299-c481-4577-a142-126330e97585" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_92ec8b59-3126-40fb-a70e-fc9feb69141f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2a1a3299-c481-4577-a142-126330e97585" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_2e4efa34-b432-40eb-916e-d5332032c1a8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2a1a3299-c481-4577-a142-126330e97585" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_2e4efa34-b432-40eb-916e-d5332032c1a8" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized_0e36ed61-67a2-4c55-afba-3f028661b35c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2a1a3299-c481-4577-a142-126330e97585" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized_0e36ed61-67a2-4c55-afba-3f028661b35c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_b47f3656-1ffd-45d1-bc74-d2834b013042" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2a1a3299-c481-4577-a142-126330e97585" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_b47f3656-1ffd-45d1-bc74-d2834b013042" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_f72d7d42-8146-4519-b916-1e854af1a7e2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2a1a3299-c481-4577-a142-126330e97585" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_f72d7d42-8146-4519-b916-1e854af1a7e2" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_554de0ad-11f1-43ea-abfb-f97c5b6f5f0b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensation"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2a1a3299-c481-4577-a142-126330e97585" xlink:to="loc_us-gaap_ShareBasedCompensation_554de0ad-11f1-43ea-abfb-f97c5b6f5f0b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_d5d58d59-2217-4205-aabc-f3daa0b4c713" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2a1a3299-c481-4577-a142-126330e97585" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_d5d58d59-2217-4205-aabc-f3daa0b4c713" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber_0943831b-fdbb-47d3-ba53-d0f83532dd18" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2a1a3299-c481-4577-a142-126330e97585" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber_0943831b-fdbb-47d3-ba53-d0f83532dd18" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_28ae653d-b509-4c34-8c2a-11062c70aae6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised"/>
    <link:presentationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2a1a3299-c481-4577-a142-126330e97585" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_28ae653d-b509-4c34-8c2a-11062c70aae6" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_8fded216-68be-407e-ada5-5810f1cff360" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue"/>
    <link:presentationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2a1a3299-c481-4577-a142-126330e97585" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_8fded216-68be-407e-ada5-5810f1cff360" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageExercisePrice_a056edb6-39c3-43bc-898c-973f620173b0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageExercisePrice"/>
    <link:presentationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2a1a3299-c481-4577-a142-126330e97585" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageExercisePrice_a056edb6-39c3-43bc-898c-973f620173b0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageRemainingContractualTerm1_4f6f8ae5-5a13-4ce9-a3e3-354255471010" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageRemainingContractualTerm1"/>
    <link:presentationArc order="11" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2a1a3299-c481-4577-a142-126330e97585" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageRemainingContractualTerm1_4f6f8ae5-5a13-4ce9-a3e3-354255471010" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableAggregateIntrinsicValue_c31fa379-4bb4-48b6-a641-092f209031b1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableAggregateIntrinsicValue"/>
    <link:presentationArc order="12" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2a1a3299-c481-4577-a142-126330e97585" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableAggregateIntrinsicValue_c31fa379-4bb4-48b6-a641-092f209031b1" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_ab2168c6-1932-4fa8-bc04-d7a79f2f14d1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross"/>
    <link:presentationArc order="13" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2a1a3299-c481-4577-a142-126330e97585" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_ab2168c6-1932-4fa8-bc04-d7a79f2f14d1" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_ed1e1d39-5323-4a9b-8be2-eb4b35586d48" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions"/>
    <link:presentationArc order="14" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2a1a3299-c481-4577-a142-126330e97585" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_ed1e1d39-5323-4a9b-8be2-eb4b35586d48" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_f2de3641-8dca-43c6-92af-465b6f20f2a8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:presentationArc order="15" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2a1a3299-c481-4577-a142-126330e97585" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_f2de3641-8dca-43c6-92af-465b6f20f2a8" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingWeightedAverageRemainingContractualTerms_0312d1f1-9179-4db6-85cd-87935eedcf44" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingWeightedAverageRemainingContractualTerms"/>
    <link:presentationArc order="16" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2a1a3299-c481-4577-a142-126330e97585" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingWeightedAverageRemainingContractualTerms_0312d1f1-9179-4db6-85cd-87935eedcf44" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_3a741951-fe6b-4963-b0ea-ec505b1721b7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue"/>
    <link:presentationArc order="17" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2a1a3299-c481-4577-a142-126330e97585" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_3a741951-fe6b-4963-b0ea-ec505b1721b7" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_29e322ec-1cb8-4664-a8d3-ad0d27e9b6f7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions"/>
    <link:presentationArc order="18" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2a1a3299-c481-4577-a142-126330e97585" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_29e322ec-1cb8-4664-a8d3-ad0d27e9b6f7" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_cb79a76d-395b-419f-881e-23d653763de5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <link:presentationArc order="19" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2a1a3299-c481-4577-a142-126330e97585" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_cb79a76d-395b-419f-881e-23d653763de5" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch_808c8d1f-adb4-4be5-8e8e-5cb7148f09c6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch"/>
    <link:presentationArc order="20" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2a1a3299-c481-4577-a142-126330e97585" xlink:to="loc_us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch_808c8d1f-adb4-4be5-8e8e-5cb7148f09c6" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent_1e8c3f0b-0757-4a83-8e0a-773efd713e81" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent"/>
    <link:presentationArc order="21" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2a1a3299-c481-4577-a142-126330e97585" xlink:to="loc_us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent_1e8c3f0b-0757-4a83-8e0a-773efd713e81" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedContributionPlanEmployerDiscretionaryContributionAmount_8e9c15a5-7bba-41ba-9346-73115f214a98" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedContributionPlanEmployerDiscretionaryContributionAmount"/>
    <link:presentationArc order="22" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2a1a3299-c481-4577-a142-126330e97585" xlink:to="loc_us-gaap_DefinedContributionPlanEmployerDiscretionaryContributionAmount_8e9c15a5-7bba-41ba-9346-73115f214a98" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/ShareBasedCompensationStockOptionActivityDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#ShareBasedCompensationStockOptionActivityDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/ShareBasedCompensationStockOptionActivityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_ebda6c75-712d-4b80-8f80-2d5749fa38b9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_6f2d831d-9d12-4b3f-b1a4-af6e925d6188" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_ebda6c75-712d-4b80-8f80-2d5749fa38b9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_6f2d831d-9d12-4b3f-b1a4-af6e925d6188" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_d1d67094-ce61-4059-98b2-dca94c43afa0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_6f2d831d-9d12-4b3f-b1a4-af6e925d6188" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_d1d67094-ce61-4059-98b2-dca94c43afa0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_025b7789-a371-4a6b-a331-181d03f8b305" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_6f2d831d-9d12-4b3f-b1a4-af6e925d6188" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_025b7789-a371-4a6b-a331-181d03f8b305" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_9c6af330-cd7a-4262-a3ec-f3bdfd646cd6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_6f2d831d-9d12-4b3f-b1a4-af6e925d6188" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_9c6af330-cd7a-4262-a3ec-f3bdfd646cd6" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod_c45f644d-0955-4457-a886-e5beeec8ae79" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_6f2d831d-9d12-4b3f-b1a4-af6e925d6188" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod_c45f644d-0955-4457-a886-e5beeec8ae79" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod_5087b539-1ae0-4eb8-82bd-e9d6cfcf0aa2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_6f2d831d-9d12-4b3f-b1a4-af6e925d6188" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod_5087b539-1ae0-4eb8-82bd-e9d6cfcf0aa2" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_58273552-b4bc-48cd-a25c-093bac7d56fe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_6f2d831d-9d12-4b3f-b1a4-af6e925d6188" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_58273552-b4bc-48cd-a25c-093bac7d56fe" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsOutstandingWeightedAverageGrantDateFairValueRollForward_344aaf3f-4dd1-46e0-83fe-26738a82c63e" xlink:href="nmih-20231231.xsd#nmih_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsOutstandingWeightedAverageGrantDateFairValueRollForward"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_ebda6c75-712d-4b80-8f80-2d5749fa38b9" xlink:to="loc_nmih_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsOutstandingWeightedAverageGrantDateFairValueRollForward_344aaf3f-4dd1-46e0-83fe-26738a82c63e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue_db6118dd-ce8e-44d5-8d47-848c602dd2df" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_nmih_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsOutstandingWeightedAverageGrantDateFairValueRollForward_344aaf3f-4dd1-46e0-83fe-26738a82c63e" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue_db6118dd-ce8e-44d5-8d47-848c602dd2df" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_178ee752-4d1d-402e-8b81-829edeadd281" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_nmih_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsOutstandingWeightedAverageGrantDateFairValueRollForward_344aaf3f-4dd1-46e0-83fe-26738a82c63e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_178ee752-4d1d-402e-8b81-829edeadd281" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsExercisesinPeriodWeightedAverageGrantDateFairValue_3d0931f6-04cd-41b2-9be7-2b4ba8fe08dc" xlink:href="nmih-20231231.xsd#nmih_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsExercisesinPeriodWeightedAverageGrantDateFairValue"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_nmih_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsOutstandingWeightedAverageGrantDateFairValueRollForward_344aaf3f-4dd1-46e0-83fe-26738a82c63e" xlink:to="loc_nmih_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsExercisesinPeriodWeightedAverageGrantDateFairValue_3d0931f6-04cd-41b2-9be7-2b4ba8fe08dc" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue_d5ea2676-629f-425a-aba4-5ff2e4ffef29" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_nmih_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsOutstandingWeightedAverageGrantDateFairValueRollForward_344aaf3f-4dd1-46e0-83fe-26738a82c63e" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue_d5ea2676-629f-425a-aba4-5ff2e4ffef29" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsNonvestedOptionsExpiredWeightedAverageGrantDateFairValue_5d1f7c10-4829-4af4-b4c4-83305f090ffd" xlink:href="nmih-20231231.xsd#nmih_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsNonvestedOptionsExpiredWeightedAverageGrantDateFairValue"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_nmih_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsOutstandingWeightedAverageGrantDateFairValueRollForward_344aaf3f-4dd1-46e0-83fe-26738a82c63e" xlink:to="loc_nmih_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsNonvestedOptionsExpiredWeightedAverageGrantDateFairValue_5d1f7c10-4829-4af4-b4c4-83305f090ffd" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue_296cea58-e928-4238-af1a-eb70e3789636" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_nmih_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsOutstandingWeightedAverageGrantDateFairValueRollForward_344aaf3f-4dd1-46e0-83fe-26738a82c63e" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue_296cea58-e928-4238-af1a-eb70e3789636" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_08be03a5-862b-481b-9700-773977601cf3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_ebda6c75-712d-4b80-8f80-2d5749fa38b9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_08be03a5-862b-481b-9700-773977601cf3" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_902d85fe-205c-4638-84be-4d8d87d89c1e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_08be03a5-862b-481b-9700-773977601cf3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_902d85fe-205c-4638-84be-4d8d87d89c1e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_44f47939-d18b-4c3c-9b52-9738d38a5155" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_08be03a5-862b-481b-9700-773977601cf3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_44f47939-d18b-4c3c-9b52-9738d38a5155" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_2129fc07-6f39-4d2c-b5dd-23331a6f480e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_08be03a5-862b-481b-9700-773977601cf3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_2129fc07-6f39-4d2c-b5dd-23331a6f480e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice_05e9d268-552a-4471-93ca-f7e9a4326046" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_08be03a5-862b-481b-9700-773977601cf3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice_05e9d268-552a-4471-93ca-f7e9a4326046" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice_e6e96d9a-c9d8-4cfa-8796-08c556b7bf01" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_08be03a5-862b-481b-9700-773977601cf3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice_e6e96d9a-c9d8-4cfa-8796-08c556b7bf01" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_111aa47b-d016-4ce7-9b62-0b7b4a645505" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_08be03a5-862b-481b-9700-773977601cf3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_111aa47b-d016-4ce7-9b62-0b7b4a645505" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/ShareBasedCompensationRestrictedStockUnitsActivityDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#ShareBasedCompensationRestrictedStockUnitsActivityDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/ShareBasedCompensationRestrictedStockUnitsActivityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_f74f485e-f351-4d31-84af-72f2a4286720" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_3e3c3117-018c-47f0-9b43-55523ba5c8d8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_f74f485e-f351-4d31-84af-72f2a4286720" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_3e3c3117-018c-47f0-9b43-55523ba5c8d8" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_1810de9a-348e-41b3-805c-1ea7fd54ff0a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AwardTypeAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_3e3c3117-018c-47f0-9b43-55523ba5c8d8" xlink:to="loc_us-gaap_AwardTypeAxis_1810de9a-348e-41b3-805c-1ea7fd54ff0a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_41a01d83-e0bf-49cb-93b6-8230004b1846" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AwardTypeAxis_1810de9a-348e-41b3-805c-1ea7fd54ff0a" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_41a01d83-e0bf-49cb-93b6-8230004b1846" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_0d2ee00c-1d35-4ef8-914b-ad2e9456dc40" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_41a01d83-e0bf-49cb-93b6-8230004b1846" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_0d2ee00c-1d35-4ef8-914b-ad2e9456dc40" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_PerformanceBasedRSUsPRSUsMember_1f1bbdcd-1ce0-4048-bd00-cc6bce551945" xlink:href="nmih-20231231.xsd#nmih_PerformanceBasedRSUsPRSUsMember"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_41a01d83-e0bf-49cb-93b6-8230004b1846" xlink:to="loc_nmih_PerformanceBasedRSUsPRSUsMember_1f1bbdcd-1ce0-4048-bd00-cc6bce551945" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_50745b50-be10-4a78-b478-948a116a90e6" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeAxis"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_3e3c3117-018c-47f0-9b43-55523ba5c8d8" xlink:to="loc_srt_RangeAxis_50745b50-be10-4a78-b478-948a116a90e6" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_310dff0d-5aaf-43bc-a2a4-19c7a636807d" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeAxis_50745b50-be10-4a78-b478-948a116a90e6" xlink:to="loc_srt_RangeMember_310dff0d-5aaf-43bc-a2a4-19c7a636807d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_83e6aef3-03c0-4980-8389-fb83af4b65be" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MinimumMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_310dff0d-5aaf-43bc-a2a4-19c7a636807d" xlink:to="loc_srt_MinimumMember_83e6aef3-03c0-4980-8389-fb83af4b65be" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_f7ef5f56-d7a9-4031-834e-f3550c4bcc9d" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MaximumMember"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_310dff0d-5aaf-43bc-a2a4-19c7a636807d" xlink:to="loc_srt_MaximumMember_f7ef5f56-d7a9-4031-834e-f3550c4bcc9d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_89cef161-8434-43ec-81d8-107a1278cf35" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_3e3c3117-018c-47f0-9b43-55523ba5c8d8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_89cef161-8434-43ec-81d8-107a1278cf35" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_635b5932-c119-4316-8ef0-1326266c2083" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_89cef161-8434-43ec-81d8-107a1278cf35" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_635b5932-c119-4316-8ef0-1326266c2083" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_b0c0e9a6-cded-4856-bc97-c0ea6f9960e1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_635b5932-c119-4316-8ef0-1326266c2083" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_b0c0e9a6-cded-4856-bc97-c0ea6f9960e1" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_b6942583-6a8f-4136-be00-bcfa6f05cb49" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_635b5932-c119-4316-8ef0-1326266c2083" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_b6942583-6a8f-4136-be00-bcfa6f05cb49" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_53107bef-7a60-4431-8ec9-8260d3687aad" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_635b5932-c119-4316-8ef0-1326266c2083" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_53107bef-7a60-4431-8ec9-8260d3687aad" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_09aa040f-a799-4597-85ae-b265cfd4e5e0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_635b5932-c119-4316-8ef0-1326266c2083" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_09aa040f-a799-4597-85ae-b265cfd4e5e0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_4d83f0b2-18b5-4e22-a29d-a9b1490a68e5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_635b5932-c119-4316-8ef0-1326266c2083" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_4d83f0b2-18b5-4e22-a29d-a9b1490a68e5" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_7d17b45d-77c8-4212-978a-9649bb9e0cfd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_89cef161-8434-43ec-81d8-107a1278cf35" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_7d17b45d-77c8-4212-978a-9649bb9e0cfd" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_0542afbb-5fa2-49c6-84b0-b756f027fa65" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_7d17b45d-77c8-4212-978a-9649bb9e0cfd" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_0542afbb-5fa2-49c6-84b0-b756f027fa65" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_9a207cc5-b03a-467c-90cb-8751a3351d2b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_7d17b45d-77c8-4212-978a-9649bb9e0cfd" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_9a207cc5-b03a-467c-90cb-8751a3351d2b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_4092dc30-973a-46ef-ad29-2fc6e7ada036" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_7d17b45d-77c8-4212-978a-9649bb9e0cfd" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_4092dc30-973a-46ef-ad29-2fc6e7ada036" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_7eccf84a-11ff-4691-ad0e-07c6882b732c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_7d17b45d-77c8-4212-978a-9649bb9e0cfd" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_7eccf84a-11ff-4691-ad0e-07c6882b732c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_ec6f8020-c1cd-4e2d-ae2e-1f1c430bd6c3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_7d17b45d-77c8-4212-978a-9649bb9e0cfd" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_ec6f8020-c1cd-4e2d-ae2e-1f1c430bd6c3" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_67f32d8b-4ab7-4798-acef-8802966e6f5e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_89cef161-8434-43ec-81d8-107a1278cf35" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_67f32d8b-4ab7-4798-acef-8802966e6f5e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/IncomeTaxesComponentsofIncomeTaxExpenseBenefitDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#IncomeTaxesComponentsofIncomeTaxExpenseBenefitDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/IncomeTaxesComponentsofIncomeTaxExpenseBenefitDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxDisclosureAbstract_bd237317-3798-4817-9b81-42be11e6aaa3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_98d44eb4-8a61-4d5d-be01-48456b41286d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_bd237317-3798-4817-9b81-42be11e6aaa3" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_98d44eb4-8a61-4d5d-be01-48456b41286d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_668f819f-ca04-496d-b125-0bf7205f324c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_bd237317-3798-4817-9b81-42be11e6aaa3" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_668f819f-ca04-496d-b125-0bf7205f324c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_126a151a-1d93-408b-8577-47b6dec42ce7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_bd237317-3798-4817-9b81-42be11e6aaa3" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_126a151a-1d93-408b-8577-47b6dec42ce7" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/IncomeTaxesEffectiveIncomeTaxRateReconciliationDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#IncomeTaxesEffectiveIncomeTaxRateReconciliationDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/IncomeTaxesEffectiveIncomeTaxRateReconciliationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxDisclosureAbstract_86fb6bed-c7d1-4a65-8ea4-80c33849da2f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_d0e2c444-8de1-4787-919b-bee47746734a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_86fb6bed-c7d1-4a65-8ea4-80c33849da2f" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_d0e2c444-8de1-4787-919b-bee47746734a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_dd8349e1-0eff-4442-b3d8-3c26c53d45ad" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_86fb6bed-c7d1-4a65-8ea4-80c33849da2f" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_dd8349e1-0eff-4442-b3d8-3c26c53d45ad" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_EffectiveIncomeTaxRateReconciliationCompensationShareBasedAndOtherPercent_5b073733-d026-4d1a-91c7-7846e2ebd43a" xlink:href="nmih-20231231.xsd#nmih_EffectiveIncomeTaxRateReconciliationCompensationShareBasedAndOtherPercent"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_86fb6bed-c7d1-4a65-8ea4-80c33849da2f" xlink:to="loc_nmih_EffectiveIncomeTaxRateReconciliationCompensationShareBasedAndOtherPercent_5b073733-d026-4d1a-91c7-7846e2ebd43a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_EffectiveIncomeTaxRateReconciliationWarrantGainLossPercent_70fb77a7-228a-45b1-8231-adc38c3a15f9" xlink:href="nmih-20231231.xsd#nmih_EffectiveIncomeTaxRateReconciliationWarrantGainLossPercent"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_86fb6bed-c7d1-4a65-8ea4-80c33849da2f" xlink:to="loc_nmih_EffectiveIncomeTaxRateReconciliationWarrantGainLossPercent_70fb77a7-228a-45b1-8231-adc38c3a15f9" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_d90f952f-ed7c-4163-8170-9c5ca52004ef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_86fb6bed-c7d1-4a65-8ea4-80c33849da2f" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_d90f952f-ed7c-4163-8170-9c5ca52004ef" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_1abb140e-db27-48e2-bfe9-1f060386a71a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_86fb6bed-c7d1-4a65-8ea4-80c33849da2f" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_1abb140e-db27-48e2-bfe9-1f060386a71a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/IncomeTaxesDeferredTaxAssetandLiabilitiesDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#IncomeTaxesDeferredTaxAssetandLiabilitiesDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/IncomeTaxesDeferredTaxAssetandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxDisclosureAbstract_93d959e8-3279-4ada-82b1-c87fa81cbb47" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGrossAbstract_79807b82-62df-422d-a296-b88d36e44c9f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsGrossAbstract"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_93d959e8-3279-4ada-82b1-c87fa81cbb47" xlink:to="loc_us-gaap_DeferredTaxAssetsGrossAbstract_79807b82-62df-422d-a296-b88d36e44c9f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsUnrealizedLossesOnTradingSecurities_13d995ed-49d3-424a-9c86-6c6ff08f0285" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsUnrealizedLossesOnTradingSecurities"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredTaxAssetsGrossAbstract_79807b82-62df-422d-a296-b88d36e44c9f" xlink:to="loc_us-gaap_DeferredTaxAssetsUnrealizedLossesOnTradingSecurities_13d995ed-49d3-424a-9c86-6c6ff08f0285" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_41ac0b9f-4343-47ac-b912-9aeadaa8e1b0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredTaxAssetsGrossAbstract_79807b82-62df-422d-a296-b88d36e44c9f" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_41ac0b9f-4343-47ac-b912-9aeadaa8e1b0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_aaeca37b-8b1f-4311-be4d-655836536b2c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredTaxAssetsGrossAbstract_79807b82-62df-422d-a296-b88d36e44c9f" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_aaeca37b-8b1f-4311-be4d-655836536b2c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsUnearnedPremiumsReserve_2b38dd14-95b7-4e29-bcf5-fb845d1fc4fb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsUnearnedPremiumsReserve"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredTaxAssetsGrossAbstract_79807b82-62df-422d-a296-b88d36e44c9f" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsUnearnedPremiumsReserve_2b38dd14-95b7-4e29-bcf5-fb845d1fc4fb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsOther_32d149c2-f6e7-4ff4-9bd5-ae7c7e559f2a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsOther"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredTaxAssetsGrossAbstract_79807b82-62df-422d-a296-b88d36e44c9f" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsOther_32d149c2-f6e7-4ff4-9bd5-ae7c7e559f2a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_7f2ca8aa-ab29-42d8-9b56-95e2f631800c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsOther"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredTaxAssetsGrossAbstract_79807b82-62df-422d-a296-b88d36e44c9f" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_7f2ca8aa-ab29-42d8-9b56-95e2f631800c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_520fb0e1-301e-415f-a413-d9b6064569dc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredTaxAssetsGrossAbstract_79807b82-62df-422d-a296-b88d36e44c9f" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_520fb0e1-301e-415f-a413-d9b6064569dc" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_6dafd89c-0544-42f8-af79-19f16e0b5d96" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:presentationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredTaxAssetsGrossAbstract_79807b82-62df-422d-a296-b88d36e44c9f" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_6dafd89c-0544-42f8-af79-19f16e0b5d96" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_8f4153b1-c5af-4059-917c-687decb5d16b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:presentationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredTaxAssetsGrossAbstract_79807b82-62df-422d-a296-b88d36e44c9f" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_8f4153b1-c5af-4059-917c-687decb5d16b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesAbstract_7c34e419-7f60-4049-863d-8821811f4bb7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxLiabilitiesAbstract"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_93d959e8-3279-4ada-82b1-c87fa81cbb47" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesAbstract_7c34e419-7f60-4049-863d-8821811f4bb7" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesDeferredExpenseReservesAndAccruals_92faec7e-f684-48f4-ac00-f41fdb80f3bf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxLiabilitiesDeferredExpenseReservesAndAccruals"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredTaxLiabilitiesAbstract_7c34e419-7f60-4049-863d-8821811f4bb7" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesDeferredExpenseReservesAndAccruals_92faec7e-f684-48f4-ac00-f41fdb80f3bf" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesDeferredExpenseDeferredPolicyAcquisitionCost_a2cb0ae5-cba4-4407-939b-9c1c8d091068" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxLiabilitiesDeferredExpenseDeferredPolicyAcquisitionCost"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredTaxLiabilitiesAbstract_7c34e419-7f60-4049-863d-8821811f4bb7" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesDeferredExpenseDeferredPolicyAcquisitionCost_a2cb0ae5-cba4-4407-939b-9c1c8d091068" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesDeferredExpenseCapitalizedSoftware_1944728e-91ad-41e7-a710-662f5f7209ca" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxLiabilitiesDeferredExpenseCapitalizedSoftware"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredTaxLiabilitiesAbstract_7c34e419-7f60-4049-863d-8821811f4bb7" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesDeferredExpenseCapitalizedSoftware_1944728e-91ad-41e7-a710-662f5f7209ca" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_8819352b-1f40-4eea-9731-39f83243ef13" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxLiabilitiesOther"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredTaxLiabilitiesAbstract_7c34e419-7f60-4049-863d-8821811f4bb7" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_8819352b-1f40-4eea-9731-39f83243ef13" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_e39bebf1-a4c2-4696-be5c-08856ae8f788" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredTaxLiabilitiesAbstract_7c34e419-7f60-4049-863d-8821811f4bb7" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_e39bebf1-a4c2-4696-be5c-08856ae8f788" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTotalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilities_f29e4153-b24f-4ca9-b0ea-0551dd4955df" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxLiabilities"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_93d959e8-3279-4ada-82b1-c87fa81cbb47" xlink:to="loc_us-gaap_DeferredTaxLiabilities_f29e4153-b24f-4ca9-b0ea-0551dd4955df" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTotalLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/IncomeTaxesNarrativeDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#IncomeTaxesNarrativeDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/IncomeTaxesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxDisclosureAbstract_d27d8b52-348d-459f-bc72-6e35726dbcf2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxContingencyTable_02e5b18d-13d1-435c-bb82-00d765711aae" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxContingencyTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_d27d8b52-348d-459f-bc72-6e35726dbcf2" xlink:to="loc_us-gaap_IncomeTaxContingencyTable_02e5b18d-13d1-435c-bb82-00d765711aae" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_5ee2090e-d44f-4903-804b-a3dfd3de27b1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxAuthorityAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxContingencyTable_02e5b18d-13d1-435c-bb82-00d765711aae" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_5ee2090e-d44f-4903-804b-a3dfd3de27b1" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_e6af2daf-e69f-40b7-b613-347d53eb1bb3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_5ee2090e-d44f-4903-804b-a3dfd3de27b1" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_e6af2daf-e69f-40b7-b613-347d53eb1bb3" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticCountryMember_34617fa6-730a-4e4f-9522-7c164f0b9a9d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DomesticCountryMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_e6af2daf-e69f-40b7-b613-347d53eb1bb3" xlink:to="loc_us-gaap_DomesticCountryMember_34617fa6-730a-4e4f-9522-7c164f0b9a9d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StateAndLocalJurisdictionMember_cf41485f-e338-4894-96fb-b504b02c1503" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StateAndLocalJurisdictionMember"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_e6af2daf-e69f-40b7-b613-347d53eb1bb3" xlink:to="loc_us-gaap_StateAndLocalJurisdictionMember_cf41485f-e338-4894-96fb-b504b02c1503" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameAxis_79a83fc1-89c7-465d-9219-a29ed6339048" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxAuthorityNameAxis"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxContingencyTable_02e5b18d-13d1-435c-bb82-00d765711aae" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameAxis_79a83fc1-89c7-465d-9219-a29ed6339048" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameDomain_20843faa-ed9b-404d-9c2c-dacf8f7f9c96" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxAuthorityNameDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameAxis_79a83fc1-89c7-465d-9219-a29ed6339048" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameDomain_20843faa-ed9b-404d-9c2c-dacf8f7f9c96" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InternalRevenueServiceIRSMember_f2dfa568-b3b4-43fb-8550-73a374bd6725" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InternalRevenueServiceIRSMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameDomain_20843faa-ed9b-404d-9c2c-dacf8f7f9c96" xlink:to="loc_us-gaap_InternalRevenueServiceIRSMember_f2dfa568-b3b4-43fb-8550-73a374bd6725" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_ExpirationPeriodAxis_a53e17d7-7f2a-48e6-a418-5ec77f5c8ab3" xlink:href="nmih-20231231.xsd#nmih_ExpirationPeriodAxis"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxContingencyTable_02e5b18d-13d1-435c-bb82-00d765711aae" xlink:to="loc_nmih_ExpirationPeriodAxis_a53e17d7-7f2a-48e6-a418-5ec77f5c8ab3" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_ExpirationPeriodDomain_e66df02f-69ff-4e3f-a00b-e5f6825940e7" xlink:href="nmih-20231231.xsd#nmih_ExpirationPeriodDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_nmih_ExpirationPeriodAxis_a53e17d7-7f2a-48e6-a418-5ec77f5c8ab3" xlink:to="loc_nmih_ExpirationPeriodDomain_e66df02f-69ff-4e3f-a00b-e5f6825940e7" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_AnnualLimitationThrough2016Member_519ca0d6-5dff-4b9d-a8f3-f4e2606b80ee" xlink:href="nmih-20231231.xsd#nmih_AnnualLimitationThrough2016Member"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_nmih_ExpirationPeriodDomain_e66df02f-69ff-4e3f-a00b-e5f6825940e7" xlink:to="loc_nmih_AnnualLimitationThrough2016Member_519ca0d6-5dff-4b9d-a8f3-f4e2606b80ee" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_AnnualLimitation2017Member_37b01f31-0938-46f4-a1cb-ac74149c1f27" xlink:href="nmih-20231231.xsd#nmih_AnnualLimitation2017Member"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_nmih_ExpirationPeriodDomain_e66df02f-69ff-4e3f-a00b-e5f6825940e7" xlink:to="loc_nmih_AnnualLimitation2017Member_37b01f31-0938-46f4-a1cb-ac74149c1f27" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_AnnualLimitationsAfterYearTwoMember_e0c44f98-83b0-42b5-83dc-6f8ac59ea29c" xlink:href="nmih-20231231.xsd#nmih_AnnualLimitationsAfterYearTwoMember"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_nmih_ExpirationPeriodDomain_e66df02f-69ff-4e3f-a00b-e5f6825940e7" xlink:to="loc_nmih_AnnualLimitationsAfterYearTwoMember_e0c44f98-83b0-42b5-83dc-6f8ac59ea29c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxContingencyLineItems_f840390d-6846-4450-94fc-5c352a4124be" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxContingencyLineItems"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxContingencyTable_02e5b18d-13d1-435c-bb82-00d765711aae" xlink:to="loc_us-gaap_IncomeTaxContingencyLineItems_f840390d-6846-4450-94fc-5c352a4124be" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_PurchasesOfTaxAndLossBonds_a7e4697c-c46d-4997-8953-459745154b79" xlink:href="nmih-20231231.xsd#nmih_PurchasesOfTaxAndLossBonds"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_f840390d-6846-4450-94fc-5c352a4124be" xlink:to="loc_nmih_PurchasesOfTaxAndLossBonds_a7e4697c-c46d-4997-8953-459745154b79" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_74f64f7a-9f4e-4e35-b307-bc5f9a6bc6d9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_f840390d-6846-4450-94fc-5c352a4124be" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_74f64f7a-9f4e-4e35-b307-bc5f9a6bc6d9" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_PrepaidFederalIncomeTaxes_9ff5cd9b-f946-463a-994a-5592edb90cc3" xlink:href="nmih-20231231.xsd#nmih_PrepaidFederalIncomeTaxes"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_f840390d-6846-4450-94fc-5c352a4124be" xlink:to="loc_nmih_PrepaidFederalIncomeTaxes_9ff5cd9b-f946-463a-994a-5592edb90cc3" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLossCarryforwards_a673c927-c1b1-4abd-888e-0f8532feec57" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLossCarryforwards"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_f840390d-6846-4450-94fc-5c352a4124be" xlink:to="loc_us-gaap_OperatingLossCarryforwards_a673c927-c1b1-4abd-888e-0f8532feec57" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration_f1365924-2eda-4639-8c95-aa5e30a534b5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_f840390d-6846-4450-94fc-5c352a4124be" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration_f1365924-2eda-4639-8c95-aa5e30a534b5" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_41d98c07-0848-4ab5-a297-9fed3db3d209" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_f840390d-6846-4450-94fc-5c352a4124be" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_41d98c07-0848-4ab5-a297-9fed3db3d209" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecognizedTaxBenefits_1795e0af-5146-4ae0-9316-9c79f120d202" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrecognizedTaxBenefits"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_f840390d-6846-4450-94fc-5c352a4124be" xlink:to="loc_us-gaap_UnrecognizedTaxBenefits_1795e0af-5146-4ae0-9316-9c79f120d202" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/SoftwareandEquipmentNetBalancesDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#SoftwareandEquipmentNetBalancesDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/SoftwareandEquipmentNetBalancesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAbstract_5328733b-01fd-4abd-8b31-c56128cf6dca" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_42f7970e-86ef-4842-831e-cb6a32c2b420" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAbstract_5328733b-01fd-4abd-8b31-c56128cf6dca" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_42f7970e-86ef-4842-831e-cb6a32c2b420" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_fbcd2b47-da1d-4772-bb2c-41155ade034d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_42f7970e-86ef-4842-831e-cb6a32c2b420" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_fbcd2b47-da1d-4772-bb2c-41155ade034d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_581bc6f5-3ce3-4240-8bac-f3d2790305d7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_fbcd2b47-da1d-4772-bb2c-41155ade034d" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_581bc6f5-3ce3-4240-8bac-f3d2790305d7" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_b1e89534-dc0b-49b7-b9e4-2feb85fc5d70" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_581bc6f5-3ce3-4240-8bac-f3d2790305d7" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_b1e89534-dc0b-49b7-b9e4-2feb85fc5d70" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquipmentMember_768b33f3-161e-48e5-8f44-765d64ad3a79" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquipmentMember"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_581bc6f5-3ce3-4240-8bac-f3d2790305d7" xlink:to="loc_us-gaap_EquipmentMember_768b33f3-161e-48e5-8f44-765d64ad3a79" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_ecfcc111-957e-4267-80d7-d7fd4f74549c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LeaseholdImprovementsMember"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_581bc6f5-3ce3-4240-8bac-f3d2790305d7" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_ecfcc111-957e-4267-80d7-d7fd4f74549c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_8b7cd8e2-7c42-4ce6-b708-71f6fa89de6c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_42f7970e-86ef-4842-831e-cb6a32c2b420" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentLineItems_8b7cd8e2-7c42-4ce6-b708-71f6fa89de6c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_ed46903d-05b2-485e-8b84-c52ff6970543" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_8b7cd8e2-7c42-4ce6-b708-71f6fa89de6c" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_ed46903d-05b2-485e-8b84-c52ff6970543" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_50564130-7c4f-4132-8a6e-0e46f7791d5c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_8b7cd8e2-7c42-4ce6-b708-71f6fa89de6c" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_50564130-7c4f-4132-8a6e-0e46f7791d5c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_5d6c50f7-21ed-4140-8adf-416413750dbd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_8b7cd8e2-7c42-4ce6-b708-71f6fa89de6c" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_5d6c50f7-21ed-4140-8adf-416413750dbd" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/SoftwareandEquipmentNarrativeDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#SoftwareandEquipmentNarrativeDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/SoftwareandEquipmentNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAbstract_c652a2c9-9256-4b2b-a90b-691d184315a7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_CapitalizedCostsAdditionsToSoftwareEquipmentLeasehold_ab524dec-b686-4857-a297-a45ac0278b1f" xlink:href="nmih-20231231.xsd#nmih_CapitalizedCostsAdditionsToSoftwareEquipmentLeasehold"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAbstract_c652a2c9-9256-4b2b-a90b-691d184315a7" xlink:to="loc_nmih_CapitalizedCostsAdditionsToSoftwareEquipmentLeasehold_ab524dec-b686-4857-a297-a45ac0278b1f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_4fbca551-fa7a-48df-b983-8c71a2e4cd63" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAbstract_c652a2c9-9256-4b2b-a90b-691d184315a7" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_4fbca551-fa7a-48df-b983-8c71a2e4cd63" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/IntangibleAssetsandGoodwillDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#IntangibleAssetsandGoodwillDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/IntangibleAssetsandGoodwillDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_b1433bd8-0b2a-4759-97b6-49c6a114b93a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsTable_cdb5d411-ee08-42f2-a4d4-d565dbe05616" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_b1433bd8-0b2a-4759-97b6-49c6a114b93a" xlink:to="loc_us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsTable_cdb5d411-ee08-42f2-a4d4-d565dbe05616" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_46e9559c-ada3-43b4-8549-36f01a56cd4c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsTable_cdb5d411-ee08-42f2-a4d4-d565dbe05616" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_46e9559c-ada3-43b4-8549-36f01a56cd4c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_dd72f7da-3684-4f79-8df1-3107e7770fc4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_46e9559c-ada3-43b4-8549-36f01a56cd4c" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_dd72f7da-3684-4f79-8df1-3107e7770fc4" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_StateLicensesMember_d85ab411-33ae-49d7-8c16-5d7d03c08e60" xlink:href="nmih-20231231.xsd#nmih_StateLicensesMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_dd72f7da-3684-4f79-8df1-3107e7770fc4" xlink:to="loc_nmih_StateLicensesMember_d85ab411-33ae-49d7-8c16-5d7d03c08e60" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_GSEApprovalsMember_62dd10d0-cd45-4d24-8080-02a10d63c33b" xlink:href="nmih-20231231.xsd#nmih_GSEApprovalsMember"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_dd72f7da-3684-4f79-8df1-3107e7770fc4" xlink:to="loc_nmih_GSEApprovalsMember_62dd10d0-cd45-4d24-8080-02a10d63c33b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems_966cdd6b-9495-4e11-811d-1930b7fa91b8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsTable_cdb5d411-ee08-42f2-a4d4-d565dbe05616" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems_966cdd6b-9495-4e11-811d-1930b7fa91b8" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_1069f596-fb55-43d8-8663-93060188765f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Goodwill"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems_966cdd6b-9495-4e11-811d-1930b7fa91b8" xlink:to="loc_us-gaap_Goodwill_1069f596-fb55-43d8-8663-93060188765f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_392178e4-4d07-4080-bbbb-d5f2d3e457ab" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems_966cdd6b-9495-4e11-811d-1930b7fa91b8" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_392178e4-4d07-4080-bbbb-d5f2d3e457ab" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetIncludingGoodwill_3883d431-2f72-4006-9c3c-d67a1e0ce2e9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsNetIncludingGoodwill"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems_966cdd6b-9495-4e11-811d-1930b7fa91b8" xlink:to="loc_us-gaap_IntangibleAssetsNetIncludingGoodwill_3883d431-2f72-4006-9c3c-d67a1e0ce2e9" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_9127cf53-94fd-41d9-8f4c-0e98d952f479" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GoodwillAndIntangibleAssetImpairment"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems_966cdd6b-9495-4e11-811d-1930b7fa91b8" xlink:to="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_9127cf53-94fd-41d9-8f4c-0e98d952f479" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/LeasesNarrativeDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#LeasesNarrativeDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/LeasesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeasesAbstract_1ad5ee8c-0473-49e6-898e-2fe0dce3bddf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LeasesAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_fde1e55d-5681-4ec4-a35a-5bcca9442353" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeLeaseDescriptionTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_1ad5ee8c-0473-49e6-898e-2fe0dce3bddf" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_fde1e55d-5681-4ec4-a35a-5bcca9442353" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_eb44925b-dd45-456f-b84e-12c673f4eeea" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_fde1e55d-5681-4ec4-a35a-5bcca9442353" xlink:to="loc_srt_RangeAxis_eb44925b-dd45-456f-b84e-12c673f4eeea" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_c63035dd-cb07-468e-aaac-897888e008a6" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeAxis_eb44925b-dd45-456f-b84e-12c673f4eeea" xlink:to="loc_srt_RangeMember_c63035dd-cb07-468e-aaac-897888e008a6" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_720936b5-6e32-440e-ade9-9a30b7b637c2" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MinimumMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_c63035dd-cb07-468e-aaac-897888e008a6" xlink:to="loc_srt_MinimumMember_720936b5-6e32-440e-ade9-9a30b7b637c2" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_ecf58814-1f0b-4424-8002-48bc1ec09d2a" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MaximumMember"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_c63035dd-cb07-468e-aaac-897888e008a6" xlink:to="loc_srt_MaximumMember_ecf58814-1f0b-4424-8002-48bc1ec09d2a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_cca2b015-9f64-4004-9594-8a9c705999a0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeLeaseDescriptionLineItems"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_fde1e55d-5681-4ec4-a35a-5bcca9442353" xlink:to="loc_us-gaap_LesseeLeaseDescriptionLineItems_cca2b015-9f64-4004-9594-8a9c705999a0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_NumberOfOperatingLeasesCorporateOfficeAndDataCenterFacility_dd47ecf8-37e9-407d-bf3a-be7c577163db" xlink:href="nmih-20231231.xsd#nmih_NumberOfOperatingLeasesCorporateOfficeAndDataCenterFacility"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_cca2b015-9f64-4004-9594-8a9c705999a0" xlink:to="loc_nmih_NumberOfOperatingLeasesCorporateOfficeAndDataCenterFacility_dd47ecf8-37e9-407d-bf3a-be7c577163db" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_7d82ae06-d508-40bd-922b-58ae102d1d55" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_cca2b015-9f64-4004-9594-8a9c705999a0" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_7d82ae06-d508-40bd-922b-58ae102d1d55" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_1168f396-e7e1-49b4-ac44-d71a33b7a5a6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_cca2b015-9f64-4004-9594-8a9c705999a0" xlink:to="loc_us-gaap_OperatingLeaseLiability_1168f396-e7e1-49b4-ac44-d71a33b7a5a6" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList_8deefeee-a1c9-4601-a948-43b400ab561c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_cca2b015-9f64-4004-9594-8a9c705999a0" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList_8deefeee-a1c9-4601-a948-43b400ab561c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityStatementOfFinancialPositionExtensibleList_cc0cb949-a31c-49af-a942-56bfd52de3af" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiabilityStatementOfFinancialPositionExtensibleList"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_cca2b015-9f64-4004-9594-8a9c705999a0" xlink:to="loc_us-gaap_OperatingLeaseLiabilityStatementOfFinancialPositionExtensibleList_cc0cb949-a31c-49af-a942-56bfd52de3af" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasePayments_21be4176-1625-4206-957e-3694a86b80aa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeasePayments"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_cca2b015-9f64-4004-9594-8a9c705999a0" xlink:to="loc_us-gaap_OperatingLeasePayments_21be4176-1625-4206-957e-3694a86b80aa" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseExpense_4843a89b-fad1-4631-879b-3c20d9f6dfc9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseExpense"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_cca2b015-9f64-4004-9594-8a9c705999a0" xlink:to="loc_us-gaap_OperatingLeaseExpense_4843a89b-fad1-4631-879b-3c20d9f6dfc9" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseTermOfContract_cea3cf65-0515-4aca-a8d3-f93e1d78eb3b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseTermOfContract"/>
    <link:presentationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_cca2b015-9f64-4004-9594-8a9c705999a0" xlink:to="loc_us-gaap_LesseeOperatingLeaseTermOfContract_cea3cf65-0515-4aca-a8d3-f93e1d78eb3b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseRenewalTerm_f748ed51-dbeb-4137-9930-58a525900a56" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseRenewalTerm"/>
    <link:presentationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_cca2b015-9f64-4004-9594-8a9c705999a0" xlink:to="loc_us-gaap_LesseeOperatingLeaseRenewalTerm_f748ed51-dbeb-4137-9930-58a525900a56" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/LeasesRightofUseAssetandLeaseLiabilityAssumptionsDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#LeasesRightofUseAssetandLeaseLiabilityAssumptionsDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/LeasesRightofUseAssetandLeaseLiabilityAssumptionsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeasesAbstract_177b2df3-8619-460e-b350-7aa731766574" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LeasesAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1_9f0e9327-4d94-44a1-81c9-d547f730de73" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_177b2df3-8619-460e-b350-7aa731766574" xlink:to="loc_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1_9f0e9327-4d94-44a1-81c9-d547f730de73" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent_b3edb4c4-1cca-48d3-bc99-b33fe53a1e7b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_177b2df3-8619-460e-b350-7aa731766574" xlink:to="loc_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent_b3edb4c4-1cca-48d3-bc99-b33fe53a1e7b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/LeasesFuturePaymentDueUnderOperatingLeasesDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#LeasesFuturePaymentDueUnderOperatingLeasesDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/LeasesFuturePaymentDueUnderOperatingLeasesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeasesAbstract_f565af78-fa27-4546-8439-80216bfc6ae1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LeasesAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_752e0a9d-0ea6-48b7-83c1-e4a800bc2a29" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_f565af78-fa27-4546-8439-80216bfc6ae1" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_752e0a9d-0ea6-48b7-83c1-e4a800bc2a29" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_71169df1-ba6d-47c6-b7f6-12e9dc3c8582" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_f565af78-fa27-4546-8439-80216bfc6ae1" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_71169df1-ba6d-47c6-b7f6-12e9dc3c8582" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_cf750ae3-44b6-4416-88c9-5948de9f44eb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_f565af78-fa27-4546-8439-80216bfc6ae1" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_cf750ae3-44b6-4416-88c9-5948de9f44eb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_552eae8d-997d-4498-9886-fc6c455054f7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_f565af78-fa27-4546-8439-80216bfc6ae1" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_552eae8d-997d-4498-9886-fc6c455054f7" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_2d5b2b68-d6c3-4e55-b114-95ce41366f04" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_f565af78-fa27-4546-8439-80216bfc6ae1" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_2d5b2b68-d6c3-4e55-b114-95ce41366f04" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_4116601b-319b-46ec-9578-b079e1389b79" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_f565af78-fa27-4546-8439-80216bfc6ae1" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_4116601b-319b-46ec-9578-b079e1389b79" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_1c290a0e-32a3-4512-8bda-a0d97485135c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_f565af78-fa27-4546-8439-80216bfc6ae1" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_1c290a0e-32a3-4512-8bda-a0d97485135c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_54a8c345-1d3d-468c-8b80-94c51c819eeb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:presentationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_f565af78-fa27-4546-8439-80216bfc6ae1" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_54a8c345-1d3d-468c-8b80-94c51c819eeb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_5e007344-e3c4-4d0a-826c-0ea511e99f84" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:presentationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_f565af78-fa27-4546-8439-80216bfc6ae1" xlink:to="loc_us-gaap_OperatingLeaseLiability_5e007344-e3c4-4d0a-826c-0ea511e99f84" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/LeasesFuturePaymentDueUnderOperatingLeasesDetails_1" xlink:type="simple" xlink:href="nmih-20231231.xsd#LeasesFuturePaymentDueUnderOperatingLeasesDetails_1"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/LeasesFuturePaymentDueUnderOperatingLeasesDetails_1" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.nationalmi.com/role/CommitmentsandContingenciesNarrativeDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#CommitmentsandContingenciesNarrativeDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/CommitmentsandContingenciesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingenciesDisclosureAbstract_c0ce10ec-e9d8-429b-b9fc-d3035233eb07" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_ApprovedInsurersMinimumRequiredAssets_58e8663c-77d1-4101-89fd-19752299edfe" xlink:href="nmih-20231231.xsd#nmih_ApprovedInsurersMinimumRequiredAssets"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CommitmentsAndContingenciesDisclosureAbstract_c0ce10ec-e9d8-429b-b9fc-d3035233eb07" xlink:to="loc_nmih_ApprovedInsurersMinimumRequiredAssets_58e8663c-77d1-4101-89fd-19752299edfe" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_ApprovedInsurersRiskedBasedRequiredAssetsPrimaryInsuranceFloor_acc1e97c-7edc-465e-a9fd-cba35363167f" xlink:href="nmih-20231231.xsd#nmih_ApprovedInsurersRiskedBasedRequiredAssetsPrimaryInsuranceFloor"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CommitmentsAndContingenciesDisclosureAbstract_c0ce10ec-e9d8-429b-b9fc-d3035233eb07" xlink:to="loc_nmih_ApprovedInsurersRiskedBasedRequiredAssetsPrimaryInsuranceFloor_acc1e97c-7edc-465e-a9fd-cba35363167f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/CommonStockNarrativeDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#CommonStockNarrativeDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/CommonStockNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityAbstract_2de8e123-f0a9-4b7c-9b64-22fa2120b7c9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_d29e8657-a509-4803-b4ec-bfdab2991773" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfStockByClassTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityAbstract_2de8e123-f0a9-4b7c-9b64-22fa2120b7c9" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_d29e8657-a509-4803-b4ec-bfdab2991773" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareRepurchaseProgramAxis_47a520b7-7ea2-42e9-a201-561b13dafb84" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareRepurchaseProgramAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_d29e8657-a509-4803-b4ec-bfdab2991773" xlink:to="loc_us-gaap_ShareRepurchaseProgramAxis_47a520b7-7ea2-42e9-a201-561b13dafb84" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_265e3592-885b-433a-b7b0-80e5ded0f4b3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareRepurchaseProgramDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_47a520b7-7ea2-42e9-a201-561b13dafb84" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_265e3592-885b-433a-b7b0-80e5ded0f4b3" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_July2023ShareRepurchaseProgramMember_c5eb5bcd-ba89-445a-a024-d154466e5a68" xlink:href="nmih-20231231.xsd#nmih_July2023ShareRepurchaseProgramMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareRepurchaseProgramDomain_265e3592-885b-433a-b7b0-80e5ded0f4b3" xlink:to="loc_nmih_July2023ShareRepurchaseProgramMember_c5eb5bcd-ba89-445a-a024-d154466e5a68" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_A2022ExtendedShareRepurchaseProgramMember_e0691e6d-eb59-49e3-abf7-d4300dce96ad" xlink:href="nmih-20231231.xsd#nmih_A2022ExtendedShareRepurchaseProgramMember"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareRepurchaseProgramDomain_265e3592-885b-433a-b7b0-80e5ded0f4b3" xlink:to="loc_nmih_A2022ExtendedShareRepurchaseProgramMember_e0691e6d-eb59-49e3-abf7-d4300dce96ad" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_d99f528c-29bc-4f19-b536-9d20b51d5b98" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockLineItems"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_d29e8657-a509-4803-b4ec-bfdab2991773" xlink:to="loc_us-gaap_ClassOfStockLineItems_d99f528c-29bc-4f19-b536-9d20b51d5b98" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_768dd92d-5443-4c7e-8078-a8543827f6ef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ClassOfStockLineItems_d99f528c-29bc-4f19-b536-9d20b51d5b98" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_768dd92d-5443-4c7e-8078-a8543827f6ef" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_NumberOfVotesPerCommonShare_4f3f5a86-cf08-4f81-bf55-613742024177" xlink:href="nmih-20231231.xsd#nmih_NumberOfVotesPerCommonShare"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ClassOfStockLineItems_d99f528c-29bc-4f19-b536-9d20b51d5b98" xlink:to="loc_nmih_NumberOfVotesPerCommonShare_4f3f5a86-cf08-4f81-bf55-613742024177" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_5430d1dc-85c0-407f-a1e4-b9c1f4e833da" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockRepurchaseProgramAuthorizedAmount1"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ClassOfStockLineItems_d99f528c-29bc-4f19-b536-9d20b51d5b98" xlink:to="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_5430d1dc-85c0-407f-a1e4-b9c1f4e833da" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_29eb9032-8462-4eb9-9535-20ad49ada71e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TreasuryStockSharesAcquired"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ClassOfStockLineItems_d99f528c-29bc-4f19-b536-9d20b51d5b98" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_29eb9032-8462-4eb9-9535-20ad49ada71e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_75e3faa6-9586-4bdd-bda3-74fba9f0c3d0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TreasuryStockAcquiredAverageCostPerShare"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ClassOfStockLineItems_d99f528c-29bc-4f19-b536-9d20b51d5b98" xlink:to="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_75e3faa6-9586-4bdd-bda3-74fba9f0c3d0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_4b8dc676-0899-455f-91ce-ca2578a3274c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ClassOfStockLineItems_d99f528c-29bc-4f19-b536-9d20b51d5b98" xlink:to="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_4b8dc676-0899-455f-91ce-ca2578a3274c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/RegulatoryInformationScheduleofCombinedStatutoryNetIncomeStatutorySurplusContingencyReserveandRTCRatiosDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#RegulatoryInformationScheduleofCombinedStatutoryNetIncomeStatutorySurplusContingencyReserveandRTCRatiosDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/RegulatoryInformationScheduleofCombinedStatutoryNetIncomeStatutorySurplusContingencyReserveandRTCRatiosDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InsuranceAbstract_69dcbc7c-0aef-4a0e-a513-5a6c23ded5e2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InsuranceAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatutoryAccountingPracticesTable_aa650577-f393-444d-9cee-9297d1d9ef0c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatutoryAccountingPracticesTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InsuranceAbstract_69dcbc7c-0aef-4a0e-a513-5a6c23ded5e2" xlink:to="loc_us-gaap_StatutoryAccountingPracticesTable_aa650577-f393-444d-9cee-9297d1d9ef0c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_3db57758-a41f-4a0b-b428-70db9c568784" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_LegalEntityAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatutoryAccountingPracticesTable_aa650577-f393-444d-9cee-9297d1d9ef0c" xlink:to="loc_dei_LegalEntityAxis_3db57758-a41f-4a0b-b428-70db9c568784" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_bb49177d-c946-4d7a-b6b9-c5044effe124" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_3db57758-a41f-4a0b-b428-70db9c568784" xlink:to="loc_dei_EntityDomain_bb49177d-c946-4d7a-b6b9-c5044effe124" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_NMICMember_529e66d2-61ba-4493-b331-c60529b8a684" xlink:href="nmih-20231231.xsd#nmih_NMICMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_bb49177d-c946-4d7a-b6b9-c5044effe124" xlink:to="loc_nmih_NMICMember_529e66d2-61ba-4493-b331-c60529b8a684" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatutoryAccountingPracticesLineItems_51249814-f2ab-42c1-82f0-27f0af58b034" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatutoryAccountingPracticesLineItems"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatutoryAccountingPracticesTable_aa650577-f393-444d-9cee-9297d1d9ef0c" xlink:to="loc_us-gaap_StatutoryAccountingPracticesLineItems_51249814-f2ab-42c1-82f0-27f0af58b034" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatutoryAccountingPracticesStatutoryNetIncomeAmount_5f8d8916-c3b1-4fcf-9f4c-0ce68b6ec7c5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatutoryAccountingPracticesStatutoryNetIncomeAmount"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatutoryAccountingPracticesLineItems_51249814-f2ab-42c1-82f0-27f0af58b034" xlink:to="loc_us-gaap_StatutoryAccountingPracticesStatutoryNetIncomeAmount_5f8d8916-c3b1-4fcf-9f4c-0ce68b6ec7c5" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatutoryAccountingPracticesStatutoryCapitalAndSurplusBalance_5c15c2d7-2d04-4c14-8a47-e354425020ae" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatutoryAccountingPracticesStatutoryCapitalAndSurplusBalance"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatutoryAccountingPracticesLineItems_51249814-f2ab-42c1-82f0-27f0af58b034" xlink:to="loc_us-gaap_StatutoryAccountingPracticesStatutoryCapitalAndSurplusBalance_5c15c2d7-2d04-4c14-8a47-e354425020ae" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_StatutoryAccountingPracticesContingencyReserve_f9e150e8-23be-4b95-ac66-589b877c4180" xlink:href="nmih-20231231.xsd#nmih_StatutoryAccountingPracticesContingencyReserve"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatutoryAccountingPracticesLineItems_51249814-f2ab-42c1-82f0-27f0af58b034" xlink:to="loc_nmih_StatutoryAccountingPracticesContingencyReserve_f9e150e8-23be-4b95-ac66-589b877c4180" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_StatutoryAccountingPracticesStatutoryCapitalAndSurplusIncludingContingencyReserve_032d0c10-e920-4880-9f13-655f91eca884" xlink:href="nmih-20231231.xsd#nmih_StatutoryAccountingPracticesStatutoryCapitalAndSurplusIncludingContingencyReserve"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatutoryAccountingPracticesLineItems_51249814-f2ab-42c1-82f0-27f0af58b034" xlink:to="loc_nmih_StatutoryAccountingPracticesStatutoryCapitalAndSurplusIncludingContingencyReserve_032d0c10-e920-4880-9f13-655f91eca884" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_RiskToCapitalRatioRegulatoryActual_40638bd9-dfb1-4c9b-b2fc-7e9ed41dc79b" xlink:href="nmih-20231231.xsd#nmih_RiskToCapitalRatioRegulatoryActual"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatutoryAccountingPracticesLineItems_51249814-f2ab-42c1-82f0-27f0af58b034" xlink:to="loc_nmih_RiskToCapitalRatioRegulatoryActual_40638bd9-dfb1-4c9b-b2fc-7e9ed41dc79b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/RegulatoryInformationNarrativeDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#RegulatoryInformationNarrativeDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/RegulatoryInformationNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InsuranceAbstract_30293488-ef04-45d9-80c0-28ef824afadb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InsuranceAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatutoryAccountingPracticesTable_0cefe6e9-1350-4c43-bfc7-35adb8195883" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatutoryAccountingPracticesTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InsuranceAbstract_30293488-ef04-45d9-80c0-28ef824afadb" xlink:to="loc_us-gaap_StatutoryAccountingPracticesTable_0cefe6e9-1350-4c43-bfc7-35adb8195883" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_36dc381d-a75e-475d-ab1d-d68c2de5130b" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_LegalEntityAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatutoryAccountingPracticesTable_0cefe6e9-1350-4c43-bfc7-35adb8195883" xlink:to="loc_dei_LegalEntityAxis_36dc381d-a75e-475d-ab1d-d68c2de5130b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_4afa15d7-437b-40eb-b22c-ea42688e1aac" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_36dc381d-a75e-475d-ab1d-d68c2de5130b" xlink:to="loc_dei_EntityDomain_4afa15d7-437b-40eb-b22c-ea42688e1aac" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_NMICMember_a33e246c-8b34-41fa-88af-060b6757f0dc" xlink:href="nmih-20231231.xsd#nmih_NMICMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_4afa15d7-437b-40eb-b22c-ea42688e1aac" xlink:to="loc_nmih_NMICMember_a33e246c-8b34-41fa-88af-060b6757f0dc" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_NMICAndReOneCombinedMember_39c01c16-1bcf-4fa4-9ad7-ca253b99fbb2" xlink:href="nmih-20231231.xsd#nmih_NMICAndReOneCombinedMember"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_4afa15d7-437b-40eb-b22c-ea42688e1aac" xlink:to="loc_nmih_NMICAndReOneCombinedMember_39c01c16-1bcf-4fa4-9ad7-ca253b99fbb2" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_ReOneMember_9062282a-acec-4057-807f-ea0b961fdb93" xlink:href="nmih-20231231.xsd#nmih_ReOneMember"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_4afa15d7-437b-40eb-b22c-ea42688e1aac" xlink:to="loc_nmih_ReOneMember_9062282a-acec-4057-807f-ea0b961fdb93" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_f35896aa-f554-4df1-aa71-5f589c32be35" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatutoryAccountingPracticesTable_0cefe6e9-1350-4c43-bfc7-35adb8195883" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_f35896aa-f554-4df1-aa71-5f589c32be35" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_fd3cd776-83d6-462d-928c-c4a02b137d7a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_f35896aa-f554-4df1-aa71-5f589c32be35" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_fd3cd776-83d6-462d-928c-c4a02b137d7a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_b48ffb58-b334-4ee6-8d68-a346e509778f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SeniorNotesMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_fd3cd776-83d6-462d-928c-c4a02b137d7a" xlink:to="loc_us-gaap_SeniorNotesMember_b48ffb58-b334-4ee6-8d68-a346e509778f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_9a794db7-ef45-4fce-9c5c-179be4310dcc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityAxis"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatutoryAccountingPracticesTable_0cefe6e9-1350-4c43-bfc7-35adb8195883" xlink:to="loc_us-gaap_CreditFacilityAxis_9a794db7-ef45-4fce-9c5c-179be4310dcc" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_ae7ac47c-b936-4311-bbaf-27f246ca7a88" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CreditFacilityAxis_9a794db7-ef45-4fce-9c5c-179be4310dcc" xlink:to="loc_us-gaap_CreditFacilityDomain_ae7ac47c-b936-4311-bbaf-27f246ca7a88" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_fc96f93f-4a00-450e-8f3a-1261c5fea13e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CreditFacilityDomain_ae7ac47c-b936-4311-bbaf-27f246ca7a88" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_fc96f93f-4a00-450e-8f3a-1261c5fea13e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_c6f944a5-ccd7-4509-af69-6cf04994fe7d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatutoryAccountingPracticesTable_0cefe6e9-1350-4c43-bfc7-35adb8195883" xlink:to="loc_us-gaap_DebtInstrumentAxis_c6f944a5-ccd7-4509-af69-6cf04994fe7d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_061b3a3d-abbc-4a71-8d55-20c5040f2e9c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentAxis_c6f944a5-ccd7-4509-af69-6cf04994fe7d" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_061b3a3d-abbc-4a71-8d55-20c5040f2e9c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_SecuredRevolvingCreditFacility2021Member_cf62c690-6bf5-45ce-a965-06638a9cb5a1" xlink:href="nmih-20231231.xsd#nmih_SecuredRevolvingCreditFacility2021Member"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_061b3a3d-abbc-4a71-8d55-20c5040f2e9c" xlink:to="loc_nmih_SecuredRevolvingCreditFacility2021Member_cf62c690-6bf5-45ce-a965-06638a9cb5a1" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatutoryAccountingPracticesLineItems_445d8612-7041-4392-a82b-9ffc48f234ac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatutoryAccountingPracticesLineItems"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatutoryAccountingPracticesTable_0cefe6e9-1350-4c43-bfc7-35adb8195883" xlink:to="loc_us-gaap_StatutoryAccountingPracticesLineItems_445d8612-7041-4392-a82b-9ffc48f234ac" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_NumberOfStatesInAdditionToWisconsinWithMinimumStatutoryCapitalRelativeToRIFRequirement_6ab6bf74-53c4-413d-a7f8-f3e23b22b9a7" xlink:href="nmih-20231231.xsd#nmih_NumberOfStatesInAdditionToWisconsinWithMinimumStatutoryCapitalRelativeToRIFRequirement"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatutoryAccountingPracticesLineItems_445d8612-7041-4392-a82b-9ffc48f234ac" xlink:to="loc_nmih_NumberOfStatesInAdditionToWisconsinWithMinimumStatutoryCapitalRelativeToRIFRequirement_6ab6bf74-53c4-413d-a7f8-f3e23b22b9a7" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_MaximumPermittedRTCRatio_effa5a37-ce04-47bf-aa61-5c2df421636b" xlink:href="nmih-20231231.xsd#nmih_MaximumPermittedRTCRatio"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatutoryAccountingPracticesLineItems_445d8612-7041-4392-a82b-9ffc48f234ac" xlink:to="loc_nmih_MaximumPermittedRTCRatio_effa5a37-ce04-47bf-aa61-5c2df421636b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_MortgageInsuranceRiskinForce_2da80b4b-626c-4ea9-8a37-6ebbc068a15e" xlink:href="nmih-20231231.xsd#nmih_MortgageInsuranceRiskinForce"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatutoryAccountingPracticesLineItems_445d8612-7041-4392-a82b-9ffc48f234ac" xlink:to="loc_nmih_MortgageInsuranceRiskinForce_2da80b4b-626c-4ea9-8a37-6ebbc068a15e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_RiskToCapitalRatioRegulatoryActual_59b13c8b-57be-471e-a960-c19d007f6c9e" xlink:href="nmih-20231231.xsd#nmih_RiskToCapitalRatioRegulatoryActual"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatutoryAccountingPracticesLineItems_445d8612-7041-4392-a82b-9ffc48f234ac" xlink:to="loc_nmih_RiskToCapitalRatioRegulatoryActual_59b13c8b-57be-471e-a960-c19d007f6c9e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_StatutoryAccountingPracticesStatutoryIncomeLossAmount_1cb0e804-5b3f-4d4e-ab55-f0fd09152d61" xlink:href="nmih-20231231.xsd#nmih_StatutoryAccountingPracticesStatutoryIncomeLossAmount"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatutoryAccountingPracticesLineItems_445d8612-7041-4392-a82b-9ffc48f234ac" xlink:to="loc_nmih_StatutoryAccountingPracticesStatutoryIncomeLossAmount_1cb0e804-5b3f-4d4e-ab55-f0fd09152d61" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_StatutoryAccountingPracticesStatutoryCapitalAndSurplusIncludingContingencyReserve_0891c680-9855-4e9a-a1c7-908493ebb9e9" xlink:href="nmih-20231231.xsd#nmih_StatutoryAccountingPracticesStatutoryCapitalAndSurplusIncludingContingencyReserve"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatutoryAccountingPracticesLineItems_445d8612-7041-4392-a82b-9ffc48f234ac" xlink:to="loc_nmih_StatutoryAccountingPracticesStatutoryCapitalAndSurplusIncludingContingencyReserve_0891c680-9855-4e9a-a1c7-908493ebb9e9" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_42ec9bf4-3fd0-4237-bd3d-acb4000723fb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatutoryAccountingPracticesLineItems_445d8612-7041-4392-a82b-9ffc48f234ac" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_42ec9bf4-3fd0-4237-bd3d-acb4000723fb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_3a16f2ed-1add-496f-bfcd-eef19661489e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:presentationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatutoryAccountingPracticesLineItems_445d8612-7041-4392-a82b-9ffc48f234ac" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_3a16f2ed-1add-496f-bfcd-eef19661489e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_OrdinaryDividendsRestrictionwithRegardstoCapitalSurplus_c851b627-8f08-49b4-925e-7cf6164cc723" xlink:href="nmih-20231231.xsd#nmih_OrdinaryDividendsRestrictionwithRegardstoCapitalSurplus"/>
    <link:presentationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatutoryAccountingPracticesLineItems_445d8612-7041-4392-a82b-9ffc48f234ac" xlink:to="loc_nmih_OrdinaryDividendsRestrictionwithRegardstoCapitalSurplus_c851b627-8f08-49b4-925e-7cf6164cc723" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfOrdinaryDividends_7406c15a-eddd-4668-8526-5ba85b5b8329" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsOfOrdinaryDividends"/>
    <link:presentationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatutoryAccountingPracticesLineItems_445d8612-7041-4392-a82b-9ffc48f234ac" xlink:to="loc_us-gaap_PaymentsOfOrdinaryDividends_7406c15a-eddd-4668-8526-5ba85b5b8329" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_OrdinaryDividendsRestrictionwithRegardstoCapitalSurplusNextFiscalYear_eb12a211-ee66-43de-81af-17d2f21d8dd6" xlink:href="nmih-20231231.xsd#nmih_OrdinaryDividendsRestrictionwithRegardstoCapitalSurplusNextFiscalYear"/>
    <link:presentationArc order="11" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatutoryAccountingPracticesLineItems_445d8612-7041-4392-a82b-9ffc48f234ac" xlink:to="loc_nmih_OrdinaryDividendsRestrictionwithRegardstoCapitalSurplusNextFiscalYear_eb12a211-ee66-43de-81af-17d2f21d8dd6" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/QuarterlyFinancialDataUnauditedDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#QuarterlyFinancialDataUnauditedDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/QuarterlyFinancialDataUnauditedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_QuarterlyFinancialInformationDisclosureAbstract_390ac9e9-8287-40aa-b516-38a5b88f5243" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_QuarterlyFinancialInformationDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PremiumsEarnedNet_43718837-fab2-47c6-b6a8-91e5800b88cd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PremiumsEarnedNet"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_QuarterlyFinancialInformationDisclosureAbstract_390ac9e9-8287-40aa-b516-38a5b88f5243" xlink:to="loc_us-gaap_PremiumsEarnedNet_43718837-fab2-47c6-b6a8-91e5800b88cd" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_408948d9-d580-440a-8475-be1cd8284be3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetInvestmentIncome"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_QuarterlyFinancialInformationDisclosureAbstract_390ac9e9-8287-40aa-b516-38a5b88f5243" xlink:to="loc_us-gaap_NetInvestmentIncome_408948d9-d580-440a-8475-be1cd8284be3" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnInvestments_e04cf028-464e-44f5-8ba2-fb88c1e6980f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainLossOnInvestments"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_QuarterlyFinancialInformationDisclosureAbstract_390ac9e9-8287-40aa-b516-38a5b88f5243" xlink:to="loc_us-gaap_GainLossOnInvestments_e04cf028-464e-44f5-8ba2-fb88c1e6980f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherIncome_cbcb7ab5-6c46-44c3-b8b5-eb1d7a782107" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherIncome"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_QuarterlyFinancialInformationDisclosureAbstract_390ac9e9-8287-40aa-b516-38a5b88f5243" xlink:to="loc_us-gaap_OtherIncome_cbcb7ab5-6c46-44c3-b8b5-eb1d7a782107" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_PolicyholderBenefitsAndClaimsNetPropertyCasualtyAndLiability_ba74800c-dcb9-4d0f-9c97-5776783e1b69" xlink:href="nmih-20231231.xsd#nmih_PolicyholderBenefitsAndClaimsNetPropertyCasualtyAndLiability"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_QuarterlyFinancialInformationDisclosureAbstract_390ac9e9-8287-40aa-b516-38a5b88f5243" xlink:to="loc_nmih_PolicyholderBenefitsAndClaimsNetPropertyCasualtyAndLiability_ba74800c-dcb9-4d0f-9c97-5776783e1b69" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCostAndExpenseOperating_3924e0e4-8381-4185-847d-96e9d4c457f3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherCostAndExpenseOperating"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_QuarterlyFinancialInformationDisclosureAbstract_390ac9e9-8287-40aa-b516-38a5b88f5243" xlink:to="loc_us-gaap_OtherCostAndExpenseOperating_3924e0e4-8381-4185-847d-96e9d4c457f3" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingExpense_43631daf-ccfa-4983-83af-59f1f4aa4572" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherNonoperatingExpense"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_QuarterlyFinancialInformationDisclosureAbstract_390ac9e9-8287-40aa-b516-38a5b88f5243" xlink:to="loc_us-gaap_OtherNonoperatingExpense_43631daf-ccfa-4983-83af-59f1f4aa4572" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_3ce4cd25-95c5-4b2d-af90-939b93f8f5f0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpense"/>
    <link:presentationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_QuarterlyFinancialInformationDisclosureAbstract_390ac9e9-8287-40aa-b516-38a5b88f5243" xlink:to="loc_us-gaap_InterestExpense_3ce4cd25-95c5-4b2d-af90-939b93f8f5f0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_GainLossonChangeinFairValueofWarrantLiability_807ff369-6493-437c-bb9c-7a22880e2a71" xlink:href="nmih-20231231.xsd#nmih_GainLossonChangeinFairValueofWarrantLiability"/>
    <link:presentationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_QuarterlyFinancialInformationDisclosureAbstract_390ac9e9-8287-40aa-b516-38a5b88f5243" xlink:to="loc_nmih_GainLossonChangeinFairValueofWarrantLiability_807ff369-6493-437c-bb9c-7a22880e2a71" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_e075865a-be99-41f8-8dd1-30afb3aa063d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:presentationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_QuarterlyFinancialInformationDisclosureAbstract_390ac9e9-8287-40aa-b516-38a5b88f5243" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_e075865a-be99-41f8-8dd1-30afb3aa063d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_5591b3bd-9e9b-47d2-bcf3-9c7898fe9173" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:presentationArc order="11" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_QuarterlyFinancialInformationDisclosureAbstract_390ac9e9-8287-40aa-b516-38a5b88f5243" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_5591b3bd-9e9b-47d2-bcf3-9c7898fe9173" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_3662c166-75dd-41df-aed3-691cc7c12cb6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:presentationArc order="12" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_QuarterlyFinancialInformationDisclosureAbstract_390ac9e9-8287-40aa-b516-38a5b88f5243" xlink:to="loc_us-gaap_NetIncomeLoss_3662c166-75dd-41df-aed3-691cc7c12cb6" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareAbstract_47ee6e15-bf42-469f-9cfd-79d3e1895d4e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareAbstract"/>
    <link:presentationArc order="13" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_QuarterlyFinancialInformationDisclosureAbstract_390ac9e9-8287-40aa-b516-38a5b88f5243" xlink:to="loc_us-gaap_EarningsPerShareAbstract_47ee6e15-bf42-469f-9cfd-79d3e1895d4e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_ca4bbeff-8cc9-46b7-878f-a71b27e6c2d6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_47ee6e15-bf42-469f-9cfd-79d3e1895d4e" xlink:to="loc_us-gaap_EarningsPerShareBasic_ca4bbeff-8cc9-46b7-878f-a71b27e6c2d6" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_1bbc987f-d130-43e3-88e6-596fdb293b15" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_47ee6e15-bf42-469f-9cfd-79d3e1895d4e" xlink:to="loc_us-gaap_EarningsPerShareDiluted_1bbc987f-d130-43e3-88e6-596fdb293b15" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_d98e6888-496e-457f-9968-edf65c377740" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_47ee6e15-bf42-469f-9cfd-79d3e1895d4e" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_d98e6888-496e-457f-9968-edf65c377740" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/netLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_fc89585e-c4e8-4e0f-acd0-b17f9c560c64" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_47ee6e15-bf42-469f-9cfd-79d3e1895d4e" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_fc89585e-c4e8-4e0f-acd0-b17f9c560c64" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/SubsequenteventsDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#SubsequenteventsDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/SubsequenteventsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventsAbstract_69687973-681c-454e-9586-c00c386c989c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventsAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTable_6f836dbb-268a-4a80-a7b2-86dca619c862" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventsAbstract_69687973-681c-454e-9586-c00c386c989c" xlink:to="loc_us-gaap_SubsequentEventTable_6f836dbb-268a-4a80-a7b2-86dca619c862" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_8d90a375-7b64-48db-a2ca-153b171ae01e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventTable_6f836dbb-268a-4a80-a7b2-86dca619c862" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_8d90a375-7b64-48db-a2ca-153b171ae01e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_331c6769-b2e0-40bd-b789-1ebb84b63a6d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_8d90a375-7b64-48db-a2ca-153b171ae01e" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_331c6769-b2e0-40bd-b789-1ebb84b63a6d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_6084331e-4dd2-4f48-9b96-353ee3378ddc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_331c6769-b2e0-40bd-b789-1ebb84b63a6d" xlink:to="loc_us-gaap_SubsequentEventMember_6084331e-4dd2-4f48-9b96-353ee3378ddc" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CededCreditRiskAxis_11e591ff-8182-4e0f-873a-51de040df212" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CededCreditRiskAxis"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventTable_6f836dbb-268a-4a80-a7b2-86dca619c862" xlink:to="loc_us-gaap_CededCreditRiskAxis_11e591ff-8182-4e0f-873a-51de040df212" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CededCreditRiskReinsurerDomain_07833315-0815-4576-9594-3fc6dd4a624d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CededCreditRiskReinsurerDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskAxis_11e591ff-8182-4e0f-873a-51de040df212" xlink:to="loc_us-gaap_CededCreditRiskReinsurerDomain_07833315-0815-4576-9594-3fc6dd4a624d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_ThirdPartyReinsurersMember_f5b45bed-3429-45ed-af7e-4e7781931883" xlink:href="nmih-20231231.xsd#nmih_ThirdPartyReinsurersMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CededCreditRiskReinsurerDomain_07833315-0815-4576-9594-3fc6dd4a624d" xlink:to="loc_nmih_ThirdPartyReinsurersMember_f5b45bed-3429-45ed-af7e-4e7781931883" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReinsuranceContractAxis_69360514-b119-4cbd-944b-98d5f7765f4f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReinsuranceContractAxis"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventTable_6f836dbb-268a-4a80-a7b2-86dca619c862" xlink:to="loc_us-gaap_ReinsuranceContractAxis_69360514-b119-4cbd-944b-98d5f7765f4f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventLineItems_1d5a5c73-7fb1-4a2c-8748-87a93b7c454c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventLineItems"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventTable_6f836dbb-268a-4a80-a7b2-86dca619c862" xlink:to="loc_us-gaap_SubsequentEventLineItems_1d5a5c73-7fb1-4a2c-8748-87a93b7c454c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_PremiumsEarnedPercentOfRisk_15c83f90-1142-47ec-9533-8548cfa20011" xlink:href="nmih-20231231.xsd#nmih_PremiumsEarnedPercentOfRisk"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventLineItems_1d5a5c73-7fb1-4a2c-8748-87a93b7c454c" xlink:to="loc_nmih_PremiumsEarnedPercentOfRisk_15c83f90-1142-47ec-9533-8548cfa20011" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_CededCreditRiskCommissionEarnedPercentage_fed4735b-ae6f-457f-86eb-64292b994d41" xlink:href="nmih-20231231.xsd#nmih_CededCreditRiskCommissionEarnedPercentage"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventLineItems_1d5a5c73-7fb1-4a2c-8748-87a93b7c454c" xlink:to="loc_nmih_CededCreditRiskCommissionEarnedPercentage_fed4735b-ae6f-457f-86eb-64292b994d41" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_CededCreditRiskProfitCommissionLossRatioOnLoansThreshold_58be95ac-f7a8-43af-9ef5-7f25fa15adbe" xlink:href="nmih-20231231.xsd#nmih_CededCreditRiskProfitCommissionLossRatioOnLoansThreshold"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventLineItems_1d5a5c73-7fb1-4a2c-8748-87a93b7c454c" xlink:to="loc_nmih_CededCreditRiskProfitCommissionLossRatioOnLoansThreshold_58be95ac-f7a8-43af-9ef5-7f25fa15adbe" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_AggregateExcessOfLossReinsuranceCoverage_c1952281-9c22-4891-93e4-85ca4bf0079a" xlink:href="nmih-20231231.xsd#nmih_AggregateExcessOfLossReinsuranceCoverage"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventLineItems_1d5a5c73-7fb1-4a2c-8748-87a93b7c454c" xlink:to="loc_nmih_AggregateExcessOfLossReinsuranceCoverage_c1952281-9c22-4891-93e4-85ca4bf0079a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_CurrentFirstLayerRetainedLoss_6f630765-dc8d-4d0e-88dd-bfafd9ce080f" xlink:href="nmih-20231231.xsd#nmih_CurrentFirstLayerRetainedLoss"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventLineItems_1d5a5c73-7fb1-4a2c-8748-87a93b7c454c" xlink:to="loc_nmih_CurrentFirstLayerRetainedLoss_6f630765-dc8d-4d0e-88dd-bfafd9ce080f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_CurrentSecondLayerRetainedLoss_884dca91-e886-43de-ac39-bf3e9920bfc1" xlink:href="nmih-20231231.xsd#nmih_CurrentSecondLayerRetainedLoss"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventLineItems_1d5a5c73-7fb1-4a2c-8748-87a93b7c454c" xlink:to="loc_nmih_CurrentSecondLayerRetainedLoss_884dca91-e886-43de-ac39-bf3e9920bfc1" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/SubsequenteventsDetails_1" xlink:type="simple" xlink:href="nmih-20231231.xsd#SubsequenteventsDetails_1"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/SubsequenteventsDetails_1" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.nationalmi.com/role/SCHEDULEISUMMARYOFINVESTMENTSOTHERTHANINVESTMENTSINRELATEDPARTIESDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#SCHEDULEISUMMARYOFINVESTMENTSOTHERTHANINVESTMENTSINRELATEDPARTIESDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/SCHEDULEISUMMARYOFINVESTMENTSOTHERTHANINVESTMENTSINRELATEDPARTIESDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesAbstract_6ba77f1e-6090-424f-8dc3-1090d5c51c76" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesTable_db0d17f9-2ab5-479f-9ef8-128d77a100d0" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesAbstract_6ba77f1e-6090-424f-8dc3-1090d5c51c76" xlink:to="loc_srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesTable_db0d17f9-2ab5-479f-9ef8-128d77a100d0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_55cc5581-7f83-4189-b6b9-6b78ff187530" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesTable_db0d17f9-2ab5-479f-9ef8-128d77a100d0" xlink:to="loc_us-gaap_FinancialInstrumentAxis_55cc5581-7f83-4189-b6b9-6b78ff187530" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3ba409fe-7fd9-466f-a5ef-6b92f0092ce8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancialInstrumentAxis_55cc5581-7f83-4189-b6b9-6b78ff187530" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3ba409fe-7fd9-466f-a5ef-6b92f0092ce8" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_d078d406-15ad-48e8-ab14-f53cfcfdafb7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_USTreasuryAndGovernmentMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3ba409fe-7fd9-466f-a5ef-6b92f0092ce8" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_d078d406-15ad-48e8-ab14-f53cfcfdafb7" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_3c3fef2b-fa00-46fb-90d9-7f1ec12429f6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3ba409fe-7fd9-466f-a5ef-6b92f0092ce8" xlink:to="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_3c3fef2b-fa00-46fb-90d9-7f1ec12429f6" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_95e40a01-9786-449c-9087-a204514b126a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CorporateDebtSecuritiesMember"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3ba409fe-7fd9-466f-a5ef-6b92f0092ce8" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_95e40a01-9786-449c-9087-a204514b126a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_60f768ca-576e-420f-ae40-4a01456dd6ed" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetBackedSecuritiesMember"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3ba409fe-7fd9-466f-a5ef-6b92f0092ce8" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_60f768ca-576e-420f-ae40-4a01456dd6ed" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BondsMember_6f2e4f58-65fd-484a-80a5-b059c07e7d42" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BondsMember"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3ba409fe-7fd9-466f-a5ef-6b92f0092ce8" xlink:to="loc_us-gaap_BondsMember_6f2e4f58-65fd-484a-80a5-b059c07e7d42" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermInvestmentsMember_693b1b86-2983-4724-be2a-b5541d400964" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortTermInvestmentsMember"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3ba409fe-7fd9-466f-a5ef-6b92f0092ce8" xlink:to="loc_us-gaap_ShortTermInvestmentsMember_693b1b86-2983-4724-be2a-b5541d400964" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesReportableDataLineItems_c2c1239c-50f7-4afe-857b-543693a053b3" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesReportableDataLineItems"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesTable_db0d17f9-2ab5-479f-9ef8-128d77a100d0" xlink:to="loc_srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesReportableDataLineItems_c2c1239c-50f7-4afe-857b-543693a053b3" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesCost_581a3e0d-bb34-49d7-b4fc-49972107916f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesCost"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesReportableDataLineItems_c2c1239c-50f7-4afe-857b-543693a053b3" xlink:to="loc_us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesCost_581a3e0d-bb34-49d7-b4fc-49972107916f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesFairValue_da20e877-9c1e-4cd7-8cad-e7da62422481" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesFairValue"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesReportableDataLineItems_c2c1239c-50f7-4afe-857b-543693a053b3" xlink:to="loc_us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesFairValue_da20e877-9c1e-4cd7-8cad-e7da62422481" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_34f96ce1-313a-493d-bd5e-828705269aea" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesReportableDataLineItems_c2c1239c-50f7-4afe-857b-543693a053b3" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_34f96ce1-313a-493d-bd5e-828705269aea" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/netLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/SCHEDULEIIFINANCIALINFORMATIONOFREGISTRANTPARENTCOMPANYONLYBalanceSheetsParentCompanyOnlyDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#SCHEDULEIIFINANCIALINFORMATIONOFREGISTRANTPARENTCOMPANYONLYBalanceSheetsParentCompanyOnlyDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/SCHEDULEIIFINANCIALINFORMATIONOFREGISTRANTPARENTCOMPANYONLYBalanceSheetsParentCompanyOnlyDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract_51bb8c4a-1b3e-4487-a093-6df59d9eb2b5" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CondensedBalanceSheetStatementTable_b461910e-79ab-4e87-8929-507c1bf2a142" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CondensedBalanceSheetStatementTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract_51bb8c4a-1b3e-4487-a093-6df59d9eb2b5" xlink:to="loc_srt_CondensedBalanceSheetStatementTable_b461910e-79ab-4e87-8929-507c1bf2a142" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_8d56f9cb-4014-4e94-ae2c-a2fd013a8c86" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedBalanceSheetStatementTable_b461910e-79ab-4e87-8929-507c1bf2a142" xlink:to="loc_srt_ConsolidatedEntitiesAxis_8d56f9cb-4014-4e94-ae2c-a2fd013a8c86" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_38783cb8-3d98-4125-9145-18c76c19face" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidatedEntitiesAxis_8d56f9cb-4014-4e94-ae2c-a2fd013a8c86" xlink:to="loc_srt_ConsolidatedEntitiesDomain_38783cb8-3d98-4125-9145-18c76c19face" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ParentCompanyMember_1a815ea8-4cfa-4d99-85b4-726a5fa04798" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ParentCompanyMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidatedEntitiesDomain_38783cb8-3d98-4125-9145-18c76c19face" xlink:to="loc_srt_ParentCompanyMember_1a815ea8-4cfa-4d99-85b4-726a5fa04798" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CondensedBalanceSheetStatementsCaptionsLineItems_d30bd860-c782-4e53-98c8-4020365554f2" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CondensedBalanceSheetStatementsCaptionsLineItems"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedBalanceSheetStatementTable_b461910e-79ab-4e87-8929-507c1bf2a142" xlink:to="loc_srt_CondensedBalanceSheetStatementsCaptionsLineItems_d30bd860-c782-4e53-98c8-4020365554f2" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_f556d0f0-ba9c-4e1e-ae6c-48015307d979" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsAbstract"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedBalanceSheetStatementsCaptionsLineItems_d30bd860-c782-4e53-98c8-4020365554f2" xlink:to="loc_us-gaap_AssetsAbstract_f556d0f0-ba9c-4e1e-ae6c-48015307d979" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_bfeda09c-0df7-45bf-ad91-641cdb6dbe96" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_f556d0f0-ba9c-4e1e-ae6c-48015307d979" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_bfeda09c-0df7-45bf-ad91-641cdb6dbe96" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_3dcf2395-9637-479b-a3aa-e26b8505e590" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_f556d0f0-ba9c-4e1e-ae6c-48015307d979" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_3dcf2395-9637-479b-a3aa-e26b8505e590" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_33109744-d96c-44e1-a260-6883309e287f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_f556d0f0-ba9c-4e1e-ae6c-48015307d979" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_33109744-d96c-44e1-a260-6883309e287f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedInvestmentIncomeReceivable_cc621cd2-f6fc-41db-8dde-937438fae6cb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedInvestmentIncomeReceivable"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_f556d0f0-ba9c-4e1e-ae6c-48015307d979" xlink:to="loc_us-gaap_AccruedInvestmentIncomeReceivable_cc621cd2-f6fc-41db-8dde-937438fae6cb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivables_b5aa82c9-4587-4e24-9eb9-569c6fe14a5f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherReceivables"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_f556d0f0-ba9c-4e1e-ae6c-48015307d979" xlink:to="loc_us-gaap_OtherReceivables_b5aa82c9-4587-4e24-9eb9-569c6fe14a5f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_645bddbc-2565-4bfb-b998-55e45c89e61a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_f556d0f0-ba9c-4e1e-ae6c-48015307d979" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_645bddbc-2565-4bfb-b998-55e45c89e61a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_eac8d0c4-ed2f-4608-ab0f-a394aa81c401" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssets"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_f556d0f0-ba9c-4e1e-ae6c-48015307d979" xlink:to="loc_us-gaap_OtherAssets_eac8d0c4-ed2f-4608-ab0f-a394aa81c401" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_838487b1-421f-4fea-898a-1b1f6c77a827" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets"/>
    <link:presentationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_f556d0f0-ba9c-4e1e-ae6c-48015307d979" xlink:to="loc_us-gaap_Assets_838487b1-421f-4fea-898a-1b1f6c77a827" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAbstract_c6f00ca2-0599-49b7-afbb-210132bba626" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAbstract"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedBalanceSheetStatementsCaptionsLineItems_d30bd860-c782-4e53-98c8-4020365554f2" xlink:to="loc_us-gaap_LiabilitiesAbstract_c6f00ca2-0599-49b7-afbb-210132bba626" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebt_79993cc6-fcdf-4a28-a222-8780ff8603bd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SecuredDebt"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesAbstract_c6f00ca2-0599-49b7-afbb-210132bba626" xlink:to="loc_us-gaap_SecuredDebt_79993cc6-fcdf-4a28-a222-8780ff8603bd" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_03ae29aa-f99a-4e50-8407-ab368b6c6366" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesAbstract_c6f00ca2-0599-49b7-afbb-210132bba626" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_03ae29aa-f99a-4e50-8407-ab368b6c6366" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_681a34b2-4199-42b6-9b83-437def30ee26" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesAbstract_c6f00ca2-0599-49b7-afbb-210132bba626" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_681a34b2-4199-42b6-9b83-437def30ee26" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_9e3c53c8-7f31-41a3-9dc5-d051868246dc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLiabilities"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesAbstract_c6f00ca2-0599-49b7-afbb-210132bba626" xlink:to="loc_us-gaap_OtherLiabilities_9e3c53c8-7f31-41a3-9dc5-d051868246dc" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_b5139fbe-104a-4d59-b18e-a4925ead0bc4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesAbstract_c6f00ca2-0599-49b7-afbb-210132bba626" xlink:to="loc_us-gaap_Liabilities_b5139fbe-104a-4d59-b18e-a4925ead0bc4" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityAbstract_3b9e1157-5efb-46e3-b234-e0a08c006afe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityAbstract"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedBalanceSheetStatementsCaptionsLineItems_d30bd860-c782-4e53-98c8-4020365554f2" xlink:to="loc_us-gaap_EquityAbstract_3b9e1157-5efb-46e3-b234-e0a08c006afe" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValueOutstanding_48c155f2-02aa-4511-823b-9d42cef8913b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockValueOutstanding"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityAbstract_3b9e1157-5efb-46e3-b234-e0a08c006afe" xlink:to="loc_us-gaap_CommonStockValueOutstanding_48c155f2-02aa-4511-823b-9d42cef8913b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_bcd534b2-d324-4a83-96dd-8d4ebff19a56" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityAbstract_3b9e1157-5efb-46e3-b234-e0a08c006afe" xlink:to="loc_us-gaap_AdditionalPaidInCapital_bcd534b2-d324-4a83-96dd-8d4ebff19a56" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonValue_24e4ef0f-a52e-4b2c-880c-62acefa69a3b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TreasuryStockCommonValue"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityAbstract_3b9e1157-5efb-46e3-b234-e0a08c006afe" xlink:to="loc_us-gaap_TreasuryStockCommonValue_24e4ef0f-a52e-4b2c-880c-62acefa69a3b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_f3b6b763-b5ab-42e2-88ab-b459b64d322d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityAbstract_3b9e1157-5efb-46e3-b234-e0a08c006afe" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_f3b6b763-b5ab-42e2-88ab-b459b64d322d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_de46a524-41ab-4945-9619-8422ad2a10e8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityAbstract_3b9e1157-5efb-46e3-b234-e0a08c006afe" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_de46a524-41ab-4945-9619-8422ad2a10e8" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_a37376e9-6c43-413d-ae25-0de4a641379f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityAbstract_3b9e1157-5efb-46e3-b234-e0a08c006afe" xlink:to="loc_us-gaap_StockholdersEquity_a37376e9-6c43-413d-ae25-0de4a641379f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_b87a0cb2-c13a-4ab4-bbcf-bc73ff86ffde" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedBalanceSheetStatementsCaptionsLineItems_d30bd860-c782-4e53-98c8-4020365554f2" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_b87a0cb2-c13a-4ab4-bbcf-bc73ff86ffde" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/SCHEDULEIIFINANCIALINFORMATIONOFREGISTRANTPARENTCOMPANYONLYBalanceSheetsAdditionalInformationParentCompanyOnlyDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#SCHEDULEIIFINANCIALINFORMATIONOFREGISTRANTPARENTCOMPANYONLYBalanceSheetsAdditionalInformationParentCompanyOnlyDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/SCHEDULEIIFINANCIALINFORMATIONOFREGISTRANTPARENTCOMPANYONLYBalanceSheetsAdditionalInformationParentCompanyOnlyDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract_12d508cd-75bf-4638-9dd1-1950c7019b9c" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CondensedBalanceSheetStatementTable_628ec6ff-bfc7-4bb7-8a98-3e4527b45fa8" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CondensedBalanceSheetStatementTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract_12d508cd-75bf-4638-9dd1-1950c7019b9c" xlink:to="loc_srt_CondensedBalanceSheetStatementTable_628ec6ff-bfc7-4bb7-8a98-3e4527b45fa8" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_cc856602-1585-4cf6-af47-c7273f039713" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedBalanceSheetStatementTable_628ec6ff-bfc7-4bb7-8a98-3e4527b45fa8" xlink:to="loc_srt_ConsolidatedEntitiesAxis_cc856602-1585-4cf6-af47-c7273f039713" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_45f7b76a-e752-4936-9617-67147ee25061" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidatedEntitiesAxis_cc856602-1585-4cf6-af47-c7273f039713" xlink:to="loc_srt_ConsolidatedEntitiesDomain_45f7b76a-e752-4936-9617-67147ee25061" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ParentCompanyMember_da1576e0-c106-40e5-ae84-94ce0b88ab47" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ParentCompanyMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidatedEntitiesDomain_45f7b76a-e752-4936-9617-67147ee25061" xlink:to="loc_srt_ParentCompanyMember_da1576e0-c106-40e5-ae84-94ce0b88ab47" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CondensedBalanceSheetStatementsCaptionsLineItems_6688c421-c7fc-4303-9c14-767fb34d0a60" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CondensedBalanceSheetStatementsCaptionsLineItems"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedBalanceSheetStatementTable_628ec6ff-bfc7-4bb7-8a98-3e4527b45fa8" xlink:to="loc_srt_CondensedBalanceSheetStatementsCaptionsLineItems_6688c421-c7fc-4303-9c14-767fb34d0a60" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_eeb171bc-7be9-47f6-8692-e2f60975bcfa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockParOrStatedValuePerShare"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedBalanceSheetStatementsCaptionsLineItems_6688c421-c7fc-4303-9c14-767fb34d0a60" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_eeb171bc-7be9-47f6-8692-e2f60975bcfa" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_40597b9f-359a-4fbf-bfd0-5c90f182bb36" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedBalanceSheetStatementsCaptionsLineItems_6688c421-c7fc-4303-9c14-767fb34d0a60" xlink:to="loc_us-gaap_CommonStockSharesIssued_40597b9f-359a-4fbf-bfd0-5c90f182bb36" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_bc236707-210a-4141-a293-6eba8718580a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedBalanceSheetStatementsCaptionsLineItems_6688c421-c7fc-4303-9c14-767fb34d0a60" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_bc236707-210a-4141-a293-6eba8718580a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_8b0b78fb-3c96-4135-9f57-22d5ada7bfca" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesAuthorized"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedBalanceSheetStatementsCaptionsLineItems_6688c421-c7fc-4303-9c14-767fb34d0a60" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_8b0b78fb-3c96-4135-9f57-22d5ada7bfca" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonShares_e9bbc215-4069-4091-bb9a-694886de7f9c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TreasuryStockCommonShares"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedBalanceSheetStatementsCaptionsLineItems_6688c421-c7fc-4303-9c14-767fb34d0a60" xlink:to="loc_us-gaap_TreasuryStockCommonShares_e9bbc215-4069-4091-bb9a-694886de7f9c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/SCHEDULEIIFINANCIALINFORMATIONOFREGISTRANTPARENTCOMPANYONLYStatementofOperationsParentCompanyOnlyDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#SCHEDULEIIFINANCIALINFORMATIONOFREGISTRANTPARENTCOMPANYONLYStatementofOperationsParentCompanyOnlyDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/SCHEDULEIIFINANCIALINFORMATIONOFREGISTRANTPARENTCOMPANYONLYStatementofOperationsParentCompanyOnlyDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract_2df303e6-8a66-4293-9217-d62d5da3a42a" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CondensedIncomeStatementTable_2b0c540d-bdb7-4e6c-9cab-93e949fe2e3d" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CondensedIncomeStatementTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract_2df303e6-8a66-4293-9217-d62d5da3a42a" xlink:to="loc_srt_CondensedIncomeStatementTable_2b0c540d-bdb7-4e6c-9cab-93e949fe2e3d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_55f93610-368d-41a8-bc6d-1eae3ee45f6e" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedIncomeStatementTable_2b0c540d-bdb7-4e6c-9cab-93e949fe2e3d" xlink:to="loc_srt_ConsolidatedEntitiesAxis_55f93610-368d-41a8-bc6d-1eae3ee45f6e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_6e39c8fa-2997-4e2b-b98a-cd60690d6e35" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidatedEntitiesAxis_55f93610-368d-41a8-bc6d-1eae3ee45f6e" xlink:to="loc_srt_ConsolidatedEntitiesDomain_6e39c8fa-2997-4e2b-b98a-cd60690d6e35" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ParentCompanyMember_72218573-8e34-4fc2-a517-18d2ed69f615" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ParentCompanyMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidatedEntitiesDomain_6e39c8fa-2997-4e2b-b98a-cd60690d6e35" xlink:to="loc_srt_ParentCompanyMember_72218573-8e34-4fc2-a517-18d2ed69f615" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CondensedIncomeStatementsCaptionsLineItems_386bcf67-a193-4e2f-a780-c4b08627020f" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CondensedIncomeStatementsCaptionsLineItems"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedIncomeStatementTable_2b0c540d-bdb7-4e6c-9cab-93e949fe2e3d" xlink:to="loc_srt_CondensedIncomeStatementsCaptionsLineItems_386bcf67-a193-4e2f-a780-c4b08627020f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenuesAbstract_af4b5309-762c-4ca7-be40-8687a309b1f2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenuesAbstract"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_386bcf67-a193-4e2f-a780-c4b08627020f" xlink:to="loc_us-gaap_RevenuesAbstract_af4b5309-762c-4ca7-be40-8687a309b1f2" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_9743089b-706c-4c89-a41c-d811aeda4a72" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetInvestmentIncome"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RevenuesAbstract_af4b5309-762c-4ca7-be40-8687a309b1f2" xlink:to="loc_us-gaap_NetInvestmentIncome_9743089b-706c-4c89-a41c-d811aeda4a72" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnInvestments_9067a634-213b-49b9-915d-2192a5a149ed" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainLossOnInvestments"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RevenuesAbstract_af4b5309-762c-4ca7-be40-8687a309b1f2" xlink:to="loc_us-gaap_GainLossOnInvestments_9067a634-213b-49b9-915d-2192a5a149ed" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_52ba983c-8d83-42c2-b404-ce5c647835d5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Revenues"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RevenuesAbstract_af4b5309-762c-4ca7-be40-8687a309b1f2" xlink:to="loc_us-gaap_Revenues_52ba983c-8d83-42c2-b404-ce5c647835d5" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpensesAbstract_716f5ee9-39f6-4d04-806a-a5590404c1cb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostsAndExpensesAbstract"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_386bcf67-a193-4e2f-a780-c4b08627020f" xlink:to="loc_us-gaap_CostsAndExpensesAbstract_716f5ee9-39f6-4d04-806a-a5590404c1cb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherExpenses_cbabed97-4ebb-4d2d-b100-c75d0e9493c7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherExpenses"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_716f5ee9-39f6-4d04-806a-a5590404c1cb" xlink:to="loc_us-gaap_OtherExpenses_cbabed97-4ebb-4d2d-b100-c75d0e9493c7" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_b577f9fc-26a9-433e-8f61-9a5791757c9b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpense"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_716f5ee9-39f6-4d04-806a-a5590404c1cb" xlink:to="loc_us-gaap_InterestExpense_b577f9fc-26a9-433e-8f61-9a5791757c9b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_GainLossonChangeinFairValueofWarrantLiability_78ef4088-1b3e-450a-b46e-ceb72d5baa7d" xlink:href="nmih-20231231.xsd#nmih_GainLossonChangeinFairValueofWarrantLiability"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_716f5ee9-39f6-4d04-806a-a5590404c1cb" xlink:to="loc_nmih_GainLossonChangeinFairValueofWarrantLiability_78ef4088-1b3e-450a-b46e-ceb72d5baa7d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_d7737a1d-1c82-42b9-a306-54374f99d42a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostsAndExpenses"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_716f5ee9-39f6-4d04-806a-a5590404c1cb" xlink:to="loc_us-gaap_CostsAndExpenses_d7737a1d-1c82-42b9-a306-54374f99d42a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_8798cf7e-5cc1-4b34-a7bb-f6f8c6271766" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_386bcf67-a193-4e2f-a780-c4b08627020f" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_8798cf7e-5cc1-4b34-a7bb-f6f8c6271766" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_b1db8bd2-fd6b-4a55-bf0a-60f69ffe5dcc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_386bcf67-a193-4e2f-a780-c4b08627020f" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_b1db8bd2-fd6b-4a55-bf0a-60f69ffe5dcc" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_51116109-b39f-4741-99cc-abdafa899243" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_386bcf67-a193-4e2f-a780-c4b08627020f" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_51116109-b39f-4741-99cc-abdafa899243" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_776cb97a-a64a-48de-89a5-1e72bc4d5b34" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_386bcf67-a193-4e2f-a780-c4b08627020f" xlink:to="loc_us-gaap_NetIncomeLoss_776cb97a-a64a-48de-89a5-1e72bc4d5b34" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_0890e3cc-fc36-4802-a67a-9a89886d6e1f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_386bcf67-a193-4e2f-a780-c4b08627020f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_0890e3cc-fc36-4802-a67a-9a89886d6e1f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_8903f37a-b260-4582-834c-9be156edb5b4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_0890e3cc-fc36-4802-a67a-9a89886d6e1f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_8903f37a-b260-4582-834c-9be156edb5b4" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_9a5d9e90-0dd9-4096-b631-b8fa98a26a38" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_0890e3cc-fc36-4802-a67a-9a89886d6e1f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_9a5d9e90-0dd9-4096-b631-b8fa98a26a38" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_OtherComprehensiveIncomeLossNetofTaxPortionAttributabletoSubsidiary_a9816f2f-a52a-4d93-9d49-182f6bd6cf67" xlink:href="nmih-20231231.xsd#nmih_OtherComprehensiveIncomeLossNetofTaxPortionAttributabletoSubsidiary"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_0890e3cc-fc36-4802-a67a-9a89886d6e1f" xlink:to="loc_nmih_OtherComprehensiveIncomeLossNetofTaxPortionAttributabletoSubsidiary_a9816f2f-a52a-4d93-9d49-182f6bd6cf67" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_addbdb6d-eac7-43e1-80be-158d9c590a66" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_0890e3cc-fc36-4802-a67a-9a89886d6e1f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_addbdb6d-eac7-43e1-80be-158d9c590a66" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_2f8b9891-b1fc-4ea3-98f2-5523484ce4a5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:presentationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_386bcf67-a193-4e2f-a780-c4b08627020f" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTax_2f8b9891-b1fc-4ea3-98f2-5523484ce4a5" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/SCHEDULEIIFINANCIALINFORMATIONOFREGISTRANTPARENTCOMPANYONLYStatementofOperationsAdditionalInformationParentCompanyOnlyDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#SCHEDULEIIFINANCIALINFORMATIONOFREGISTRANTPARENTCOMPANYONLYStatementofOperationsAdditionalInformationParentCompanyOnlyDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/SCHEDULEIIFINANCIALINFORMATIONOFREGISTRANTPARENTCOMPANYONLYStatementofOperationsAdditionalInformationParentCompanyOnlyDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract_8467057d-e0b6-4ff9-89bb-0b58f7376f5e" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CondensedIncomeStatementTable_80232817-f38c-4d3f-a7a1-6dd6ed016eec" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CondensedIncomeStatementTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract_8467057d-e0b6-4ff9-89bb-0b58f7376f5e" xlink:to="loc_srt_CondensedIncomeStatementTable_80232817-f38c-4d3f-a7a1-6dd6ed016eec" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_f20a8241-6edb-4acb-aef1-69d16e7edc1b" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedIncomeStatementTable_80232817-f38c-4d3f-a7a1-6dd6ed016eec" xlink:to="loc_srt_ConsolidatedEntitiesAxis_f20a8241-6edb-4acb-aef1-69d16e7edc1b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_99cf2ab0-7cf6-48ea-92d1-a671d5d4922b" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidatedEntitiesAxis_f20a8241-6edb-4acb-aef1-69d16e7edc1b" xlink:to="loc_srt_ConsolidatedEntitiesDomain_99cf2ab0-7cf6-48ea-92d1-a671d5d4922b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ParentCompanyMember_ca025d9b-125b-432b-aad0-2bdbb3cb1f37" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ParentCompanyMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidatedEntitiesDomain_99cf2ab0-7cf6-48ea-92d1-a671d5d4922b" xlink:to="loc_srt_ParentCompanyMember_ca025d9b-125b-432b-aad0-2bdbb3cb1f37" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CondensedIncomeStatementsCaptionsLineItems_775635fa-094d-438b-9819-88d526fef489" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CondensedIncomeStatementsCaptionsLineItems"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedIncomeStatementTable_80232817-f38c-4d3f-a7a1-6dd6ed016eec" xlink:to="loc_srt_CondensedIncomeStatementsCaptionsLineItems_775635fa-094d-438b-9819-88d526fef489" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_8e313481-faa9-43d4-af1c-9d02ee99fbcf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_775635fa-094d-438b-9819-88d526fef489" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_8e313481-faa9-43d4-af1c-9d02ee99fbcf" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax_740db60b-a7f2-40b2-8fcf-64fa1cc6552d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_775635fa-094d-438b-9819-88d526fef489" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax_740db60b-a7f2-40b2-8fcf-64fa1cc6552d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/SCHEDULEIIFINANCIALINFORMATIONOFREGISTRANTPARENTCOMPANYONLYStatementsofCashFlowsParentCompanyOnlyDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#SCHEDULEIIFINANCIALINFORMATIONOFREGISTRANTPARENTCOMPANYONLYStatementsofCashFlowsParentCompanyOnlyDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/SCHEDULEIIFINANCIALINFORMATIONOFREGISTRANTPARENTCOMPANYONLYStatementsofCashFlowsParentCompanyOnlyDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract_9a02da10-7989-4adc-a979-d285b6735833" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CondensedCashFlowStatementTable_ea30721b-efbb-4906-8f82-7d7b0c97d3a0" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CondensedCashFlowStatementTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract_9a02da10-7989-4adc-a979-d285b6735833" xlink:to="loc_srt_CondensedCashFlowStatementTable_ea30721b-efbb-4906-8f82-7d7b0c97d3a0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_4eb5d34f-4850-43f9-b39a-0f8b276176e2" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedCashFlowStatementTable_ea30721b-efbb-4906-8f82-7d7b0c97d3a0" xlink:to="loc_srt_ConsolidatedEntitiesAxis_4eb5d34f-4850-43f9-b39a-0f8b276176e2" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_e96d8f9e-2786-4ae3-af01-7990027a45a1" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidatedEntitiesAxis_4eb5d34f-4850-43f9-b39a-0f8b276176e2" xlink:to="loc_srt_ConsolidatedEntitiesDomain_e96d8f9e-2786-4ae3-af01-7990027a45a1" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ParentCompanyMember_88fdb33a-1938-43d2-996b-b76cdc9e0180" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ParentCompanyMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidatedEntitiesDomain_e96d8f9e-2786-4ae3-af01-7990027a45a1" xlink:to="loc_srt_ParentCompanyMember_88fdb33a-1938-43d2-996b-b76cdc9e0180" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_38a950c5-4756-4846-9c3e-4a479adc7d84" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CondensedCashFlowStatementsCaptionsLineItems"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedCashFlowStatementTable_ea30721b-efbb-4906-8f82-7d7b0c97d3a0" xlink:to="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_38a950c5-4756-4846-9c3e-4a479adc7d84" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_dfac7317-0ce1-4bf8-8f12-e2132b9faea5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_38a950c5-4756-4846-9c3e-4a479adc7d84" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_dfac7317-0ce1-4bf8-8f12-e2132b9faea5" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_cc757248-3592-48cf-90c4-8f94d180a5f3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_dfac7317-0ce1-4bf8-8f12-e2132b9faea5" xlink:to="loc_us-gaap_NetIncomeLoss_cc757248-3592-48cf-90c4-8f94d180a5f3" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_22de25d7-0ec0-4fcb-aa2a-54253013602b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_dfac7317-0ce1-4bf8-8f12-e2132b9faea5" xlink:to="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_22de25d7-0ec0-4fcb-aa2a-54253013602b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_GainLossonChangeinFairValueofWarrantLiability_e85a1608-463a-4f5d-be48-890d669bbb36" xlink:href="nmih-20231231.xsd#nmih_GainLossonChangeinFairValueofWarrantLiability"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_22de25d7-0ec0-4fcb-aa2a-54253013602b" xlink:to="loc_nmih_GainLossonChangeinFairValueofWarrantLiability_e85a1608-463a-4f5d-be48-890d669bbb36" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_7ee4cbd7-ab5e-4478-a345-b1b4c4541701" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_22de25d7-0ec0-4fcb-aa2a-54253013602b" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_7ee4cbd7-ab5e-4478-a345-b1b4c4541701" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAmortizationAndAccretionNet_eb7da61d-790b-43b0-9164-fe7fa13d08b2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DepreciationAmortizationAndAccretionNet"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_22de25d7-0ec0-4fcb-aa2a-54253013602b" xlink:to="loc_us-gaap_DepreciationAmortizationAndAccretionNet_eb7da61d-790b-43b0-9164-fe7fa13d08b2" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_f6cccda5-404a-4dc0-ab6a-b8ed5df9826b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_22de25d7-0ec0-4fcb-aa2a-54253013602b" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_f6cccda5-404a-4dc0-ab6a-b8ed5df9826b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_c7510b20-5a54-487e-9a57-22a977be2913" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_22de25d7-0ec0-4fcb-aa2a-54253013602b" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_c7510b20-5a54-487e-9a57-22a977be2913" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_50340f9c-e858-443b-856e-50cbce4156aa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensation"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_22de25d7-0ec0-4fcb-aa2a-54253013602b" xlink:to="loc_us-gaap_ShareBasedCompensation_50340f9c-e858-443b-856e-50cbce4156aa" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_c2ffa362-888c-4b06-8481-504c70401db3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_22de25d7-0ec0-4fcb-aa2a-54253013602b" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_c2ffa362-888c-4b06-8481-504c70401db3" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfStockInSubsidiaryOrEquityMethodInvestee_c65fc551-49be-4717-87be-38ff14dbbda1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainLossOnSaleOfStockInSubsidiaryOrEquityMethodInvestee"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_c2ffa362-888c-4b06-8481-504c70401db3" xlink:to="loc_us-gaap_GainLossOnSaleOfStockInSubsidiaryOrEquityMethodInvestee_c65fc551-49be-4717-87be-38ff14dbbda1" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInvestmentIncomeReceivable_6b7a39f8-0eee-4e99-bf24-5fec93104971" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccruedInvestmentIncomeReceivable"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_c2ffa362-888c-4b06-8481-504c70401db3" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInvestmentIncomeReceivable_6b7a39f8-0eee-4e99-bf24-5fec93104971" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseDueFromAffiliates_dfc42d6d-b2e2-4e6e-9657-30ce1f22ce17" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseDueFromAffiliates"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_c2ffa362-888c-4b06-8481-504c70401db3" xlink:to="loc_us-gaap_IncreaseDecreaseDueFromAffiliates_dfc42d6d-b2e2-4e6e-9657-30ce1f22ce17" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_8db21428-5237-4399-850e-dcce22429967" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_c2ffa362-888c-4b06-8481-504c70401db3" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_8db21428-5237-4399-850e-dcce22429967" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_12a80792-b280-42f1-b19b-d4160e4de9e9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_c2ffa362-888c-4b06-8481-504c70401db3" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_12a80792-b280-42f1-b19b-d4160e4de9e9" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9b29d100-4c5c-4546-8629-4278fb6ced6c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_dfac7317-0ce1-4bf8-8f12-e2132b9faea5" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9b29d100-4c5c-4546-8629-4278fb6ced6c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_0b59cf78-eb59-4528-8528-b20950f8d2f0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_38a950c5-4756-4846-9c3e-4a479adc7d84" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_0b59cf78-eb59-4528-8528-b20950f8d2f0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireInterestInSubsidiariesAndAffiliates_1edc0fc1-fe4f-456c-b0c8-aa4079314c5f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireInterestInSubsidiariesAndAffiliates"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_0b59cf78-eb59-4528-8528-b20950f8d2f0" xlink:to="loc_us-gaap_PaymentsToAcquireInterestInSubsidiariesAndAffiliates_1edc0fc1-fe4f-456c-b0c8-aa4079314c5f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireShortTermInvestments_a6bcd0b4-a768-4b99-9933-8d3c21683292" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireShortTermInvestments"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_0b59cf78-eb59-4528-8528-b20950f8d2f0" xlink:to="loc_us-gaap_PaymentsToAcquireShortTermInvestments_a6bcd0b4-a768-4b99-9933-8d3c21683292" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_732da339-c391-4e9f-9de7-47b1f65b5be0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_0b59cf78-eb59-4528-8528-b20950f8d2f0" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_732da339-c391-4e9f-9de7-47b1f65b5be0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfShortTermInvestments_f098eba6-7e6c-461b-803d-0dba937fee1b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleOfShortTermInvestments"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_0b59cf78-eb59-4528-8528-b20950f8d2f0" xlink:to="loc_us-gaap_ProceedsFromSaleOfShortTermInvestments_f098eba6-7e6c-461b-803d-0dba937fee1b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_354f5e5a-b514-48f5-a405-2a0e9081733c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_0b59cf78-eb59-4528-8528-b20950f8d2f0" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_354f5e5a-b514-48f5-a405-2a0e9081733c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_8d7a88fd-bd6a-4340-9bf2-ffd9aebaeb26" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_0b59cf78-eb59-4528-8528-b20950f8d2f0" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_8d7a88fd-bd6a-4340-9bf2-ffd9aebaeb26" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_36c04932-4906-45cf-a817-e5a4a5a90d89" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_0b59cf78-eb59-4528-8528-b20950f8d2f0" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_36c04932-4906-45cf-a817-e5a4a5a90d89" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_8015be36-83b7-45d3-bef6-d95a829370f0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_38a950c5-4756-4846-9c3e-4a479adc7d84" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_8015be36-83b7-45d3-bef6-d95a829370f0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_e15d2446-289a-4f74-b0e7-39674a5ac4cb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_8015be36-83b7-45d3-bef6-d95a829370f0" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_e15d2446-289a-4f74-b0e7-39674a5ac4cb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromWarrantExercises_f0b56591-1d5e-4c5a-9ab6-fa03fb841bc4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromWarrantExercises"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_8015be36-83b7-45d3-bef6-d95a829370f0" xlink:to="loc_us-gaap_ProceedsFromWarrantExercises_f0b56591-1d5e-4c5a-9ab6-fa03fb841bc4" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_a466a61e-da84-4a35-a2cc-4b8573621ec4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_8015be36-83b7-45d3-bef6-d95a829370f0" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_a466a61e-da84-4a35-a2cc-4b8573621ec4" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_c4e009b8-aa70-43b9-8c77-b465a082004e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_8015be36-83b7-45d3-bef6-d95a829370f0" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_c4e009b8-aa70-43b9-8c77-b465a082004e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_a9df0feb-ce47-4217-a7e5-3bb7c95e2781" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_8015be36-83b7-45d3-bef6-d95a829370f0" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_a9df0feb-ce47-4217-a7e5-3bb7c95e2781" xlink:type="arc" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f0a37c0a-b641-4d21-be52-b1a226136886" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_8015be36-83b7-45d3-bef6-d95a829370f0" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f0a37c0a-b641-4d21-be52-b1a226136886" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_d30460d5-47e5-43a5-b0e2-66c27a6fb926" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_38a950c5-4756-4846-9c3e-4a479adc7d84" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_d30460d5-47e5-43a5-b0e2-66c27a6fb926" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_500f367c-ad91-43c5-8cd2-925d8ae64c68" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_38a950c5-4756-4846-9c3e-4a479adc7d84" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_500f367c-ad91-43c5-8cd2-925d8ae64c68" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_123a50ac-e26a-4e68-994f-8b88306e62cc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_38a950c5-4756-4846-9c3e-4a479adc7d84" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_123a50ac-e26a-4e68-994f-8b88306e62cc" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/SCHEDULEIIFINANCIALINFORMATIONOFREGISTRANTPARENTCOMPANYONLYSupplementalNotesParentCompanyOnlyDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#SCHEDULEIIFINANCIALINFORMATIONOFREGISTRANTPARENTCOMPANYONLYSupplementalNotesParentCompanyOnlyDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/SCHEDULEIIFINANCIALINFORMATIONOFREGISTRANTPARENTCOMPANYONLYSupplementalNotesParentCompanyOnlyDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract_77f5c7f5-228a-4251-a201-a3100a7f069f" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfCondensedFinancialStatementsTable_54f371f3-048e-4fdb-9d58-4e5a38bfabb5" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ScheduleOfCondensedFinancialStatementsTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract_77f5c7f5-228a-4251-a201-a3100a7f069f" xlink:to="loc_srt_ScheduleOfCondensedFinancialStatementsTable_54f371f3-048e-4fdb-9d58-4e5a38bfabb5" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_eaf8a26b-da8a-4c4e-a2a7-fe02bb8e0eed" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ScheduleOfCondensedFinancialStatementsTable_54f371f3-048e-4fdb-9d58-4e5a38bfabb5" xlink:to="loc_srt_ConsolidatedEntitiesAxis_eaf8a26b-da8a-4c4e-a2a7-fe02bb8e0eed" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_481d5ef5-1959-4c89-986f-8e767b01b845" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidatedEntitiesAxis_eaf8a26b-da8a-4c4e-a2a7-fe02bb8e0eed" xlink:to="loc_srt_ConsolidatedEntitiesDomain_481d5ef5-1959-4c89-986f-8e767b01b845" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ParentCompanyMember_4ef66ec1-b266-4897-9cec-6d5e50fbdc7c" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ParentCompanyMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidatedEntitiesDomain_481d5ef5-1959-4c89-986f-8e767b01b845" xlink:to="loc_srt_ParentCompanyMember_4ef66ec1-b266-4897-9cec-6d5e50fbdc7c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SubsidiariesMember_d11f7bf2-52d1-4463-83d8-d2d06e318d1e" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SubsidiariesMember"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidatedEntitiesDomain_481d5ef5-1959-4c89-986f-8e767b01b845" xlink:to="loc_srt_SubsidiariesMember_d11f7bf2-52d1-4463-83d8-d2d06e318d1e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_4719451b-a12d-42d3-bc7d-60c234b317c2" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_LegalEntityAxis"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ScheduleOfCondensedFinancialStatementsTable_54f371f3-048e-4fdb-9d58-4e5a38bfabb5" xlink:to="loc_dei_LegalEntityAxis_4719451b-a12d-42d3-bc7d-60c234b317c2" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_fd89b45b-5a43-4001-be95-39f4f7e001ba" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_4719451b-a12d-42d3-bc7d-60c234b317c2" xlink:to="loc_dei_EntityDomain_fd89b45b-5a43-4001-be95-39f4f7e001ba" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_NMICAndReOneCombinedMember_50087083-3735-411a-a55c-c0da81203b8f" xlink:href="nmih-20231231.xsd#nmih_NMICAndReOneCombinedMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_fd89b45b-5a43-4001-be95-39f4f7e001ba" xlink:to="loc_nmih_NMICAndReOneCombinedMember_50087083-3735-411a-a55c-c0da81203b8f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CondensedFinancialStatementsCaptionsLineItems_cc25e300-33a0-4165-be3f-311b04431c9f" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CondensedFinancialStatementsCaptionsLineItems"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ScheduleOfCondensedFinancialStatementsTable_54f371f3-048e-4fdb-9d58-4e5a38bfabb5" xlink:to="loc_srt_CondensedFinancialStatementsCaptionsLineItems_cc25e300-33a0-4165-be3f-311b04431c9f" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfOrdinaryDividends_e0bef129-2fbd-4420-83e9-5b37c05ba3c2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsOfOrdinaryDividends"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_cc25e300-33a0-4165-be3f-311b04431c9f" xlink:to="loc_us-gaap_PaymentsOfOrdinaryDividends_e0bef129-2fbd-4420-83e9-5b37c05ba3c2" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmih_OrdinaryDividendsRestrictionwithRegardstoCapitalSurplusNextFiscalYear_87e53ec7-294a-4818-9bbd-d8ff3614ab59" xlink:href="nmih-20231231.xsd#nmih_OrdinaryDividendsRestrictionwithRegardstoCapitalSurplusNextFiscalYear"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_cc25e300-33a0-4165-be3f-311b04431c9f" xlink:to="loc_nmih_OrdinaryDividendsRestrictionwithRegardstoCapitalSurplusNextFiscalYear_87e53ec7-294a-4818-9bbd-d8ff3614ab59" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_c6710c5c-230c-4df9-b0aa-866b27fbd8eb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_cc25e300-33a0-4165-be3f-311b04431c9f" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_c6710c5c-230c-4df9-b0aa-866b27fbd8eb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_8597593d-5823-4580-be61-1ff8b331afde" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingExpenses"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_cc25e300-33a0-4165-be3f-311b04431c9f" xlink:to="loc_us-gaap_OperatingExpenses_8597593d-5823-4580-be61-1ff8b331afde" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.nationalmi.com/role/SCHEDULEIVFINANCIALINFORMATIONOFREGISTRANTREINSURANCEDetails" xlink:type="simple" xlink:href="nmih-20231231.xsd#SCHEDULEIVFINANCIALINFORMATIONOFREGISTRANTREINSURANCEDetails"/>
  <link:presentationLink xlink:role="http://www.nationalmi.com/role/SCHEDULEIVFINANCIALINFORMATIONOFREGISTRANTREINSURANCEDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_srt_SupplementalScheduleOfReinsurancePremiumsForInsuranceCompaniesAbstract_8e576596-76cf-44f4-9ef6-c477bc2fe8aa" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SupplementalScheduleOfReinsurancePremiumsForInsuranceCompaniesAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentTable_10d22694-8951-444a-806d-4b27de86ca07" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_SupplementalScheduleOfReinsurancePremiumsForInsuranceCompaniesAbstract_8e576596-76cf-44f4-9ef6-c477bc2fe8aa" xlink:to="loc_srt_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentTable_10d22694-8951-444a-806d-4b27de86ca07" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_d289f7d9-8404-4b82-82e4-863a6e4e8885" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentTable_10d22694-8951-444a-806d-4b27de86ca07" xlink:to="loc_srt_ConsolidatedEntitiesAxis_d289f7d9-8404-4b82-82e4-863a6e4e8885" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_dd1b3267-090f-49f4-854d-a2907272b7ee" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidatedEntitiesAxis_d289f7d9-8404-4b82-82e4-863a6e4e8885" xlink:to="loc_srt_ConsolidatedEntitiesDomain_dd1b3267-090f-49f4-854d-a2907272b7ee" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ParentCompanyMember_7c0413cc-98f6-4fc0-bc61-a6e6b8347849" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ParentCompanyMember"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidatedEntitiesDomain_dd1b3267-090f-49f4-854d-a2907272b7ee" xlink:to="loc_srt_ParentCompanyMember_7c0413cc-98f6-4fc0-bc61-a6e6b8347849" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentLineItems_148143d1-c961-4eab-a403-804fa3eaca6a" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentLineItems"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentTable_10d22694-8951-444a-806d-4b27de86ca07" xlink:to="loc_srt_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentLineItems_148143d1-c961-4eab-a403-804fa3eaca6a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DirectPremiumsEarned_ca0b2a27-4492-48a6-b268-c6dcd5066ee8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DirectPremiumsEarned"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentLineItems_148143d1-c961-4eab-a403-804fa3eaca6a" xlink:to="loc_us-gaap_DirectPremiumsEarned_ca0b2a27-4492-48a6-b268-c6dcd5066ee8" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CededPremiumsEarned_86312d26-f3e8-4e1b-b794-0f0d3fbb17fc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CededPremiumsEarned"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentLineItems_148143d1-c961-4eab-a403-804fa3eaca6a" xlink:to="loc_us-gaap_CededPremiumsEarned_86312d26-f3e8-4e1b-b794-0f0d3fbb17fc" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssumedPremiumsEarned_e2acd3dc-3d78-4482-8495-39c6a7cd6017" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssumedPremiumsEarned"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentLineItems_148143d1-c961-4eab-a403-804fa3eaca6a" xlink:to="loc_us-gaap_AssumedPremiumsEarned_e2acd3dc-3d78-4482-8495-39c6a7cd6017" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PremiumsEarnedNet_d893964b-c144-4b78-8608-475051623b2d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PremiumsEarnedNet"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentLineItems_148143d1-c961-4eab-a403-804fa3eaca6a" xlink:to="loc_us-gaap_PremiumsEarnedNet_d893964b-c144-4b78-8608-475051623b2d" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PremiumsPercentageAssumedToNet_4d93d19e-b85f-4ed8-9125-45ab721ce997" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PremiumsPercentageAssumedToNet"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentLineItems_148143d1-c961-4eab-a403-804fa3eaca6a" xlink:to="loc_us-gaap_PremiumsPercentageAssumedToNet_4d93d19e-b85f-4ed8-9125-45ab721ce997" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
</link:linkbase>
