<?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>
          <cik>0001257908</cik>
          <ccc>XXXXXXXX</ccc>
        </filerCredentials>
      </filer>
      <liveTestFlag>LIVE</liveTestFlag>



    </filerInfo>
  </headerData>
  <formData>
    <issuerInfo>
      <issuerCik>0000902791</issuerCik>
      <issuerName>BARRETT BUSINESS SERVICES INC</issuerName>
      <secFileNumber>000-21886</secFileNumber>
      <issuerAddress>
        <com:street1>8100 NE PARKWAY DRIVE</com:street1>
        <com:street2>SUITE 200</com:street2>
        <com:city>VANCOUVER</com:city>
        <com:stateOrCountry>WA</com:stateOrCountry>
        <com:zipCode>98662</com:zipCode>
      </issuerAddress>
      <issuerContactPhone>360-828-0700</issuerContactPhone>
      <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>CARLEY THOMAS J</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
      <relationshipsToIssuer>
        <relationshipToIssuer>Director</relationshipToIssuer>
      </relationshipsToIssuer>
    </issuerInfo>
    <securitiesInformation>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <brokerOrMarketmakerDetails>
        <name>Charles Schwab Corp.</name>
        <address>
          <com:street1>3000 Schwab Way</com:street1>
          <com:city>Westlake</com:city>
          <com:stateOrCountry>TX</com:stateOrCountry>
          <com:zipCode>76262</com:zipCode>
        </address>
      </brokerOrMarketmakerDetails>
      <noOfUnitsSold>4584</noOfUnitsSold>
      <aggregateMarketValue>189054.78</aggregateMarketValue>
      <noOfUnitsOutstanding>25937049</noOfUnitsOutstanding>
      <approxSaleDate>11/19/2024</approxSaleDate>
      <securitiesExchangeName>NASDAQ</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>07/01/2024</acquiredDate>
      <natureOfAcquisitionTransaction>Restricted Stock Units</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>4584</amountOfSecuritiesAcquired>
      <paymentDate>07/01/2024</paymentDate>
      <natureOfPayment>N/A</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <noticeSignature>
      <noticeDate>11/19/2024</noticeDate>
      <signature>THOMAS CARLEY</signature>
    </noticeSignature>
  </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 2750}]
144
0001257908
XXXXXXXX
LIVE
0000902791
BARRETT BUSINESS SERVICES INC
000-21886
8100 NE PARKWAY DRIVE
SUITE 200
VANCOUVER
WA
98662
360-828-0700
CARLEY THOMAS J
Director
Common
Charles Schwab Corp.
3000 Schwab Way
Westlake
TX
76262
4584
189054.78
25937049
11/19/2024
NASDAQ
Common
07/01/2024
Restricted Stock Units
Issuer
N
4584
07/01/2024
N/A
Y
11/19/2024
THOMAS CARLEY