content: <?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/ownership" xmlns:com="http://www.sec.gov/edgar/common">
    <headerData>
      <submissionType>144</submissionType>
      <filerInfo>
        <filer>
          <filerCredentials>
            <!-- Field: Pseudo-Tag; ID: Name; Data: Reardon Donald Keith -->
            <cik>0001977346</cik>
            <ccc>XXXXXXXX</ccc>
          </filerCredentials>
        </filer>
        <liveTestFlag>LIVE</liveTestFlag>
  
  
  
      </filerInfo>
    </headerData>
    <formData>
      <issuerInfo>
        <issuerCik>0000016868</issuerCik>
        <issuerName>CANADIAN NATIONAL RAILWAY CO</issuerName>
        <secFileNumber>001-02413</secFileNumber>
        <issuerAddress>
          <com:street1>935 DE LA GAUCHETIERE STREET WEST</com:street1>
          <com:city>MONTREAL</com:city>
          <com:stateOrCountry>A8</com:stateOrCountry>
          <com:zipCode>H3B 2M9</com:zipCode>
        </issuerAddress>
        <issuerContactPhone>888-888-5909</issuerContactPhone>
        <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>Donald Keith Reardon</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>OFFICER</relationshipToIssuer>
        </relationshipsToIssuer>
      </issuerInfo>
      <securitiesInformation>
        <securitiesClassTitle>COMMON SHARES</securitiesClassTitle>
        <brokerOrMarketmakerDetails>
          <name>CITADEL SECURITIES</name>
          <address>
            <com:street1>35TH FLOOR</com:street1>
            <com:street2>131 DEARBORN STREET</com:street2>
            <com:city>CHICAGO</com:city>
            <com:stateOrCountry>IL</com:stateOrCountry>
            <com:zipCode>60603</com:zipCode>
          </address>
        </brokerOrMarketmakerDetails>
        <noOfUnitsSold>7892</noOfUnitsSold>
        <aggregateMarketValue>962824.00</aggregateMarketValue>
        <noOfUnitsOutstanding>632409617</noOfUnitsOutstanding>
        <approxSaleDate>07/25/2024</approxSaleDate>
        <securitiesExchangeName>NYSE</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>COMMON SHARES</securitiesClassTitle>
        <acquiredDate>01/29/2015</acquiredDate>
        <natureOfAcquisitionTransaction>STOCK OPTION EXERCISE</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>CANADIAN NATIONAL RAILWAY COMPANY</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>7892</amountOfSecuritiesAcquired>
        <paymentDate>07/25/2024</paymentDate>
        <natureOfPayment>STOCK OPTION GRANT</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>07/25/2024</noticeDate>
        <signature>/s/ Donald Keith Reardon</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 2910}]
text: 144
  0001977346
  XXXXXXXX
  LIVE
  0000016868
  CANADIAN NATIONAL RAILWAY CO
  001-02413
  935 DE LA GAUCHETIERE STREET WEST
  MONTREAL
  A8
  H3B 2M9
  888-888-5909
  Donald Keith Reardon
  OFFICER
  COMMON SHARES
  CITADEL SECURITIES
  35TH FLOOR
  131 DEARBORN STREET
  CHICAGO
  IL
  60603
  7892
  962824.00
  632409617
  07/25/2024
  NYSE
  COMMON SHARES
  01/29/2015
  STOCK OPTION EXERCISE
  CANADIAN NATIONAL RAILWAY COMPANY
  N
  7892
  07/25/2024
  STOCK OPTION GRANT
  Y
  07/25/2024
  /s/ Donald Keith Reardon