<?xml version="1.0" encoding="US-ASCII" standalone="no"?>
    <!-- Field: Doc-Info; Name: Generator; Value: GoFiler Complete; Version: 5.21b -->
    <!-- Field: Doc-Info; Name: VendorURI; Value: https://www.novaworks.com -->
    <!-- Field: Doc-Info; Name: Status; Value: 0x00000000 -->
<link:linkbase xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xbrli="http://www.xbrl.org/2003/instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
    <link:roleRef roleURI="http://southernfirst.com/role/Cover" xlink:href="sfst-20231231.xsd#Cover" xlink:type="simple" />
    <link:roleRef roleURI="http://xbrl.sec.gov/ecd/role/PvpDisclosureWithAdditionalMeasures" xlink:href="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd#PvpDisclosureWithAdditionalMeasures" xlink:type="simple" />
    <link:roleRef roleURI="http://xbrl.sec.gov/ecd/role/PvpTable" xlink:href="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd#PvpTable" xlink:type="simple" />
    <link:roleRef roleURI="http://xbrl.sec.gov/ecd/role/PvpAdjustmentsToCompensation" xlink:href="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd#PvpAdjustmentsToCompensation" xlink:type="simple" />
    <link:roleRef roleURI="http://xbrl.sec.gov/ecd/role/TabularListsByExecutiveCategory" xlink:href="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd#TabularListsByExecutiveCategory" xlink:type="simple" />
    <link:roleRef roleURI="http://xbrl.sec.gov/ecd/role/TabularListMeasures" xlink:href="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd#TabularListMeasures" xlink:type="simple" />
    <link:roleRef roleURI="http://xbrl.sec.gov/ecd/role/PvpMeasures" xlink:href="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd#PvpMeasures" xlink:type="simple" />
    <link:roleRef roleURI="http://xbrl.sec.gov/ecd/role/PvpExecutiveCategoriesOnly" xlink:href="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd#PvpExecutiveCategoriesOnly" xlink:type="simple" />
    <link:roleRef roleURI="http://xbrl.sec.gov/ecd/role/PvpAdjustmentsOnly" xlink:href="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd#PvpAdjustmentsOnly" xlink:type="simple" />
    <link:roleRef roleURI="http://xbrl.sec.gov/ecd/role/IndividualsOnly" xlink:href="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd#IndividualsOnly" xlink:type="simple" />
    <link:roleRef roleURI="http://xbrl.sec.gov/ecd/AwardTypeOnly" xlink:href="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd#AwardTypeOnly" xlink:type="simple" />
    <link:roleRef roleURI="http://xbrl.sec.gov/ecd/role/TradingArrangementsOnly" xlink:href="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd#TradingArrangmentsOnly" xlink:type="simple" />
    <link:roleRef roleURI="http://xbrl.sec.gov/ecd/role/ForgoneRecoveries" xlink:href="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd#ForgoneRecoveries" xlink:type="simple" />
    <link:roleRef roleURI="http://xbrl.sec.gov/ecd/role/OutstandingRecoveries" xlink:href="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd#OutstandingRecoveries" xlink:type="simple" />
    <link:roleRef roleURI="http://xbrl.sec.gov/ecd/role/AwardsCloseToMnpiDisc" xlink:href="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd#AwardsCloseToMnpiDisc" xlink:type="simple" />
    <link:roleRef roleURI="http://xbrl.sec.gov/ecd/role/InsiderTradingArrangementsByInd" xlink:href="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd#InsiderTradingArrangemenstByInd" xlink:type="simple" />
    <link:roleRef roleURI="http://xbrl.sec.gov/ecd/role/Defaults" xlink:href="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd#Defaults" xlink:type="simple" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" arcroleURI="http://xbrl.org/int/dim/arcrole/all" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#notAll" arcroleURI="http://xbrl.org/int/dim/arcrole/notAll" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" />
    <link:definitionLink xlink:type="extended" xlink:role="http://southernfirst.com/role/Cover" xlink:title="00000001 - Document - Cover" />
    <link:definitionLink xlink:type="extended" xlink:role="http://xbrl.sec.gov/ecd/role/PvpExecutiveCategoriesOnly" />
    <link:definitionLink xlink:type="extended" xlink:role="http://xbrl.sec.gov/ecd/role/PvpAdjustmentsOnly">
      <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd#ecd_AllAdjToCompMember" xlink:label="loc_ecdAllAdjToCompMember" />
      <link:loc xlink:type="locator" xlink:href="sfst-20231231.xsd#SFST_ExclusionOfChangeInPensionMember" xlink:label="loc_SFSTExclusionOfChangeInPensionMember" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecdAllAdjToCompMember" xlink:to="loc_SFSTExclusionOfChangeInPensionMember" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="sfst-20231231.xsd#SFST_ExclusionofStockAwardsAndOptionAwardsMember" xlink:label="loc_SFSTExclusionofStockAwardsAndOptionAwardsMember" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecdAllAdjToCompMember" xlink:to="loc_SFSTExclusionofStockAwardsAndOptionAwardsMember" xlink:type="arc" order="10" />
      <link:loc xlink:type="locator" xlink:href="sfst-20231231.xsd#SFST_InclusionofPensionServiceCostMember" xlink:label="loc_SFSTInclusionofPensionServiceCostMember" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecdAllAdjToCompMember" xlink:to="loc_SFSTInclusionofPensionServiceCostMember" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="sfst-20231231.xsd#SFST_InclusionofEquityValuesMember" xlink:label="loc_SFSTInclusionofEquityValuesMember" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecdAllAdjToCompMember" xlink:to="loc_SFSTInclusionofEquityValuesMember" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="sfst-20231231.xsd#SFST_AverageExclusionOfChangeInPensionValueMember" xlink:label="loc_SFSTAverageExclusionOfChangeInPensionValueMember" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecdAllAdjToCompMember" xlink:to="loc_SFSTAverageExclusionOfChangeInPensionValueMember" xlink:type="arc" order="40" />
      <link:loc xlink:type="locator" xlink:href="sfst-20231231.xsd#SFST_AverageExclusionOfStockAwardsAndOptionAwardsMember" xlink:label="loc_SFSTAverageExclusionOfStockAwardsAndOptionAwardsMember" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecdAllAdjToCompMember" xlink:to="loc_SFSTAverageExclusionOfStockAwardsAndOptionAwardsMember" xlink:type="arc" order="50" />
      <link:loc xlink:type="locator" xlink:href="sfst-20231231.xsd#SFST_AverageInclusionOfPensionServiceCostMember" xlink:label="loc_SFSTAverageInclusionOfPensionServiceCostMember" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecdAllAdjToCompMember" xlink:to="loc_SFSTAverageInclusionOfPensionServiceCostMember" xlink:type="arc" order="60" />
      <link:loc xlink:type="locator" xlink:href="sfst-20231231.xsd#SFST_AverageInclusionOfEquityValuesMember" xlink:label="loc_SFSTAverageInclusionOfEquityValuesMember" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecdAllAdjToCompMember" xlink:to="loc_SFSTAverageInclusionOfEquityValuesMember" xlink:type="arc" order="70" />
      <link:loc xlink:type="locator" xlink:href="sfst-20231231.xsd#SFST_FairValueOfEquityAwardsGrantedThatRemainedUnvestedMember" xlink:label="loc_SFSTFairValueOfEquityAwardsGrantedThatRemainedUnvestedMember" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecdAllAdjToCompMember" xlink:to="loc_SFSTFairValueOfEquityAwardsGrantedThatRemainedUnvestedMember" xlink:type="arc" order="80" />
      <link:loc xlink:type="locator" xlink:href="sfst-20231231.xsd#SFST_ChangeInFairValueFromLastDayOfPriorYearToLastDayOfYearOfUnvestedEquityAwardsMember" xlink:label="loc_SFSTChangeInFairValueFromLastDayOfPriorYearToLastDayOfYearOfUnvestedEquityAwardsMember" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecdAllAdjToCompMember" xlink:to="loc_SFSTChangeInFairValueFromLastDayOfPriorYearToLastDayOfYearOfUnvestedEquityAwardsMember" xlink:type="arc" order="90" />
      <link:loc xlink:type="locator" xlink:href="sfst-20231231.xsd#SFST_ChangeInFairValueFromLastDayOfPriorYearToVestingDateOfUnvestedEquityAwardsVestedMember" xlink:label="loc_SFSTChangeInFairValueFromLastDayOfPriorYearToVestingDateOfUnvestedEquityAwardsVestedMember" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecdAllAdjToCompMember" xlink:to="loc_SFSTChangeInFairValueFromLastDayOfPriorYearToVestingDateOfUnvestedEquityAwardsVestedMember" xlink:type="arc" order="100" />
      <link:loc xlink:type="locator" xlink:href="sfst-20231231.xsd#SFST_EquityAwardAdjustmentsMember" xlink:label="loc_SFSTEquityAwardAdjustmentsMember" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecdAllAdjToCompMember" xlink:to="loc_SFSTEquityAwardAdjustmentsMember" xlink:type="arc" order="110" />
      <link:loc xlink:type="locator" xlink:href="sfst-20231231.xsd#SFST_AverageFairValueOfEquityAwardsGrantedThatRemainedUnvestedMember" xlink:label="loc_SFSTAverageFairValueOfEquityAwardsGrantedThatRemainedUnvestedMember" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecdAllAdjToCompMember" xlink:to="loc_SFSTAverageFairValueOfEquityAwardsGrantedThatRemainedUnvestedMember" xlink:type="arc" order="120" />
      <link:loc xlink:type="locator" xlink:href="sfst-20231231.xsd#SFST_AverageChangeInFairValueFromLastDayOfPriorYearToLastDayOfYearOfUnvestedEquityAwardsMember" xlink:label="loc_SFSTAverageChangeInFairValueFromLastDayOfPriorYearToLastDayOfYearOfUnvestedEquityAwardsMember" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecdAllAdjToCompMember" xlink:to="loc_SFSTAverageChangeInFairValueFromLastDayOfPriorYearToLastDayOfYearOfUnvestedEquityAwardsMember" xlink:type="arc" order="130" />
      <link:loc xlink:type="locator" xlink:href="sfst-20231231.xsd#SFST_AverageChangeInFairValueFromLastDayOfPriorYearToVestingDateOfUnvestedEquityAwardsVestedMember" xlink:label="loc_SFSTAverageChangeInFairValueFromLastDayOfPriorYearToVestingDateOfUnvestedEquityAwardsVestedMember" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecdAllAdjToCompMember" xlink:to="loc_SFSTAverageChangeInFairValueFromLastDayOfPriorYearToVestingDateOfUnvestedEquityAwardsVestedMember" xlink:type="arc" order="140" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://xbrl.sec.gov/ecd/role/IndividualsOnly" />
    <link:definitionLink xlink:type="extended" xlink:role="http://xbrl.sec.gov/ecd/AwardTypeOnly" />
    <link:definitionLink xlink:type="extended" xlink:role="http://xbrl.sec.gov/ecd/role/TradingArrangementsOnly" />
</link:linkbase>
