<?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>0001311958</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>(800) 494-5669</issuerContactPhone>
      <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>Justesen Jon L</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
      <relationshipsToIssuer>
        <relationshipToIssuer>Director</relationshipToIssuer>
      </relationshipsToIssuer>
    </issuerInfo>
    <securitiesInformation>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <brokerOrMarketmakerDetails>
        <name>Wells Fargo Advisors</name>
        <address>
          <com:street1>1 N. Jefferson Ave</com:street1>
          <com:city>St. Louis</com:city>
          <com:stateOrCountry>MO</com:stateOrCountry>
          <com:zipCode>63103</com:zipCode>
        </address>
      </brokerOrMarketmakerDetails>
      <noOfUnitsSold>3499</noOfUnitsSold>
      <aggregateMarketValue>0.00</aggregateMarketValue>
      <noOfUnitsOutstanding>6806397</noOfUnitsOutstanding>
      <approxSaleDate>06/20/2023</approxSaleDate>
      <securitiesExchangeName>Nasdaq</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>11/04/2011</acquiredDate>
      <natureOfAcquisitionTransaction>Open Market Purchase</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Open Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>3499</amountOfSecuritiesAcquired>
      <paymentDate>11/04/2011</paymentDate>
      <natureOfPayment>Cash</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <noticeSignature>
      <noticeDate>06/20/2023</noticeDate>
      <signature>Jon L Justesen</signature>
    </noticeSignature>
  </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 2754}]
144
0001311958
XXXXXXXX
LIVE
0000902791
BARRETT BUSINESS SERVICES INC
000-21886
8100 NE PARKWAY DRIVE
SUITE 200
VANCOUVER
WA
98662
(800) 494-5669
Justesen Jon L
Director
Common
Wells Fargo Advisors
1 N. Jefferson Ave
St. Louis
MO
63103
3499
0.00
6806397
06/20/2023
Nasdaq
Common
11/04/2011
Open Market Purchase
Open Market
N
3499
11/04/2011
Cash
Y
06/20/2023
Jon L Justesen